Topic: Prevent leaving event window without saving by clicking parent

while editing an event in the event window it is possible to click on the parent window. So for example clicking on some day in week view will close the event and opens a new event window.
No asking for saving - no warning ...
Doing some other action within the main window will bring the event window in the background and perhaps it will be forgotten.

I think it would be much better if the event window would be some kind of "modal".