calendar-editor/new-calendar: Fix unresponsive dialog after failed login
Adds the hide-on-close property to the dialog to stop it from becoming unresponsive after the user tries to enter credentials multiple times. Issue was originally reported in the gnome-calendar matrix chat.