Prompts user for unsaved changes