It would be nice to have a pop up such as are you sure you want to leave if i have a form partially filled out and not yet saved/submitted.
To Elaborate, i have a form that inputs a lot of info and it is very easy to accidentally close the page or "go back" and a person could loose alot of work.