fmbt-editor, fmbt-scripter: save unsaved work dialog