Well, this function queries the user whether to save the doc or not. If the user says no, the doc won't be saved. So the method name is misleading