Update "chooser" internal APIs
GtkDialog
is deprecated in GTK4, and chooser APIs are also getting updated. It might be a good idea to do the migration away from GtkDialog
at the same time as we implement the new API.
See !312 (closed) and https://blog.gtk.org/2022/10/30/on-deprecations/