trying to handle iOS 7 alerts