diff --git a/src/dfeet/application.py b/src/dfeet/application.py
index b469e4e..1aff2db 100644
--- a/src/dfeet/application.py
+++ b/src/dfeet/application.py
@@ -18,6 +18,7 @@ class DFeetApp(Gtk.Application):
     #Note that the function in C activate() becomes do_activate() in Python
     def do_activate(self):
         win = DFeetWindow(self, self.package, self.version, self.data_dir)
+        self.main_win = win
 
     #Note that the function in C startup() becomes do_startup() in Python
     def do_startup(self):
@@ -45,6 +46,7 @@ class DFeetApp(Gtk.Application):
 
     def action_about_cb(self, action, parameter):
         aboutdialog = DFeetAboutDialog(self.package, self.version)
+        aboutdialog.set_transient_for(self.main_win)
         aboutdialog.show()
 
     def action_help_cb(self, action, parameter):
diff --git a/src/dfeet/executemethoddialog.py b/src/dfeet/executemethoddialog.py
index 0bb5386..3bf6afe 100644
--- a/src/dfeet/executemethoddialog.py
+++ b/src/dfeet/executemethoddialog.py
@@ -36,6 +36,9 @@ class ExecuteMethodDialog:
         self.label_object_path.set_markup("%s" % (self.method_obj.object_path))
         self.label_interface.set_markup("%s" % (self.method_obj.iface_info.name))
 
+        app = Gtk.Application.get_default()
+        self.dialog.set_transient_for(app.get_window_by_id(1))
+
     def execute_cb(self, widget):
         #get given parameters
         buf = self.parameter_textview.get_buffer()
