HI,
I've just been surprised by the possibility to loose data through a page reload without being warning with a Javascript dialog ~"You have unsaved changes. Are you sure to continue?" with options continue and cancel. Such a dialog could be bound to the beforeunload event.