I think if there are unsaved changes, the LFS Editor should pop a dialog box asking if user wants to save the changes before closing. The Vehicle editor and the Modeller does show a dialog when trying to exit to entry screen but if the LFS Editor app itself is in window mode and I (accidentally) hit the close button then it will just close without asking anything.