We could also add a preference setting for the modification mode:
- immediate commit for each modification
- hold back the changes and commit them on save.
For the latter mode we need to add a check. If the editor is dirty (in other words there are outstanding modifications) and the input should change (another entry is selected in the browser tree or the refresh button is clicked) a dialog is needed: "Do you want to save changes? Yes-No-Cancel".