Allowing UIAlertViews to be queryable in iOS7.