[x] REP: In all editors (except library editor), the confirmation message displays multiple times (as much as it has been used+1) before successfully leaving the page.
[x] JD : [same as the previous problem ?] The use of the "Cancel" button should not display the confirmation message (example : when creating a new document).
A confirmation message is displayed if the user leaves the form without saving it.