Description of problem: Certain editors don't display the alert ("Are you sure you want to discard unsaved data?") when you try to close them and still have some unsaved changes. Editors affected by this: External imports default text editor (pom.xml, package-names-white-list, kmodule.xml, kie-deployment-descriptor.xml) Globals Definitions Guided Score Cards Version-Release number of selected component (if applicable): 6.1 ER3 Steps to Reproduce: 1. Open one of the editors. 2. Make a change. (Don't save.) 3. Close the editor. Actual results: No alert. Expected results: Alert asking for confirmation ("Are you sure you want to discard unsaved data?"). Additional info: For the External imports editor, this also affects the Project Editor. When a change is made in the Imports section of it and a build requested, the editor does not ask whether to save the changes.