CB-10097 dialog doesn't show on iOS when called from a select list onChange event
CB-10097 dialog doesn't show on iOS when called from a select list onChange event

Changed getTopPresentedViewController to not set the
presentingViewController to a ViewController that is being dismissed.

webratio/cordova-plugin-dialogs,serbanghita/cordova-plugin-dialogs,webratio/cordova-plugin-dialogs,apache/cordova-plugin-dialogs,serbanghita/cordova-plugin-dialogs,webratio/cordova-plugin-dialogs,serbanghita/cordova-plugin-dialogs,apache/cordova-plugin-dialogs,webratio/cordova-plugin-dialogs,serbanghita/cordova-plugin-dialogs