STEPS TO REPRODUCE
- Go to a page
- Click on "Comment" button
- Write some text
- Click "Cancel"
- Navigate away from the page (e.g. click on Sandbox from Applications Panel)
No confirmation box is displayed.
A page leaving confirmation box is displayed, informing the user that the information which was entered may not be saved.
The issue seems to be related to
XWIKI-17714, as it couldn't be reproduced on XWiki 13.10.2