The dialogue was shown when loaded by GtkBuilder, and then parented properly, which made it jump before display. https://bugzilla.gnome.org/show_bug.cgi?id=641990
Copied from the accounts-dialog git module.