Use Gtk2::Dialog->run.