Fix GtkDialog creation.