Allow dismissing framed popup on iOS 7.