This allows the user can select both a date and a time without the windo...

...w closing.  Otherwise, the window would close immediately when a date is selected, but not when a time is changed.