The problem seems to be that the custom calendar widget doesn't correctly do input grabs and this means it doesn't get input when the dialog is modal. If the dialog is set to non-modal it works fine but the dialog can remain even once the panel is closed.
I've been trying to make the calendar widget work correctly by copying GtkComboBox and GtkPopover but haven't got it to work.
The problem seems to be that the custom calendar widget doesn't correctly do input grabs and this means it doesn't get input when the dialog is modal. If the dialog is set to non-modal it works fine but the dialog can remain even once the panel is closed.
I've been trying to make the calendar widget work correctly by copying GtkComboBox and GtkPopover but haven't got it to work.