The basic gist of this issue is due to how the dropdown calendar dialog is created, clicking on the close window button [x], won't close the application while the dropdown calendar is still open. This is because the dropdown calendar dialog is a modal one...
I'm not certain on how to retain the same functionality as currently exists and fixing the ability to quit/close the app while the dropdown calendar is open.