diff --git a/src/systray.py b/src/systray.py
index 72d60b919fcd5c140388f806852a860b193cff4f..e2c09331b1704127f11285856d7e6ca483569eb5 100644
--- a/src/systray.py
+++ b/src/systray.py
@@ -399,7 +399,7 @@ class Systray:
 				gajim.interface.roster.send_status(acct, show, message)
 				gajim.interface.roster.send_pep(acct, pep_dict)
 		dlg = dialogs.ChangeStatusMessageDialog(on_response, status)
-		dlg.window.present()
+		dlg.dialog.present()
 
 	def show_tooltip(self, widget):
 		position = widget.window.get_origin()