Modal presentation bug fix for iOS7