Scenario: user is editing page with a module or viewing the preview of the changes.
Whenever a user clicks on a link, making the site navigate to another page, the user should be asked if he wants to leave (with onbeforeunload).
If the user decides to leave, the currently active module should be disabled.