ui: Port from Dialog to Window

Get rid of "Gtk-Message: GtkDialog mapped without a transient parent. This is
discouraged."

Signed-off-by: Jens Georg <mail@jensge.org>