It somehow works - but the alert is presented behind the navigation bar, which makes it basically invisible and unusable.