Fixes not being able to navigate in modal dialogs for iOS 8

Fix for iOS 8 not calling didShowViewController for modal views in some circumstances