correct a sizer defition on a dialog
make the launcher exit on window close. Closing the window without exit (on MacOS) produces weird behaviour