The previous commit reintroduced https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1270 In order to solve this without destroying the dialog, the calendar is forcefully deleted when unmapping. Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/712>