Arduino IDS should prevent windows from shutting down if unsaved work

When one exits the IDE w/o saving there is a warning BUT when one simply shutdown windows, it doe shutdown with no complaint and the work is lost, well unless you are aware of special recovery tricks.

I would expect that Arduino IDE should prevent windows from shutting down just as MS word does if you try to shutdown with unsaved document