The Close Request may be used to save data, or allow the user to continue, if you reject the event having offered a suitable dialogue.