Repair onunload event to warn user if they have unsaved changes.
Repair onunload event to warn user if they have unsaved changes.

oerpub/github-bookeditor,oerpub/bookish,oerpub/github-bookeditor,oerpub/bookish,oerpub/github-bookeditor