Bug with windows?

Something is amiss. If you try to close without saving, you should indeed get a warning. I don’t know why it didn’t do that, but that’s definitely not normal.