alter warning message when leaving a map with unsaved changes