Fixed iOS 7 dialog display issue.