Exiting modal for iPads