Fixed allowing focus in text field in Popover
Don't hide popover if it currently displays an alert sheet.
It would lead to a crash if a delegate has been set.
Merge branch 'fix-dont-hide-on-alert'