
When updating the buttons of the mount dialogs, compare the new buttons to the old ones and only create new buttons in case something changed. This makes sure key focus isn't reset or lost unnecessarily while a dialog is opened. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/961