When creating an event and then clicking on close without having clicked on safe it closes the window and nothing is saved.
Steps to reproduce:
1. Create an event.
2. Click the "x" on the upper right corner.
Here should be a warning "Are you sure you want to close this window. You're changes will not be saved?"