Always prevent window from closing and manually invoke Workspace::close

This ensures we ask the user to save their state if there are unsaved
changes.
d9b5357234Antonio Scandurra committed on 6/23/2022, 9:44:14 AMparent06033d7
2 files changedLine totals unavailable