Warn user when leaving a page with unsaved text refs #417
Merge remote-tracking branch 'origin/dev' into dev