return "cancel" when clicking cancel button on iOS