Added support for adding the alert view on top of modally presented view controllers.