no alert when unsaved, don't go back on invalid paths