confirm message to exit unsaved maps and layers (fix #80 #81)