Add additional hacks for GtkDialog.