Ask before quitting a page with unsaved changes
Make confirm on exit optional.
Merge pull request #1476 from coopTilleuls/confirm-exit

Ask before quitting a page with unsaved changes