#15138Cancel buttons should ask for confirmation if there are unsaved changes
Description
If you edit e.g. a template and press Cancel/Close, all changes after the last save are lost. The editor should warn and ask for confirmation if the user has changed the editor contents. This can prevent dataloss.
This could look like this:
There are unsaved changes. Do you want to discard them?
[Save] [Discard] [Cancel]
The “Cancel” button then will return to the editor.
This is related to issue 1701.
(issue imported from #M1702)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.