While I meant closing the whole application at once (which restores all windows/projects and unsaved changes when you restart ST), you're right that projects keep track of unsaved state on a per-project basis, too. So you can open and close project windows individually, but also do the same for Sublime Text as a whole.