diff --git a/js/ui/endSessionDialog.js b/js/ui/endSessionDialog.js
index 57a7dcdb3..59fbae295 100644
--- a/js/ui/endSessionDialog.js
+++ b/js/ui/endSessionDialog.js
@@ -50,6 +50,7 @@ const EndSessionDialogIface =
+
@@ -488,5 +489,9 @@ const EndSessionDialog = new Lang.Class({
invocation.return_value(null);
this.disconnect(signalId);
}));
+ },
+
+ Close: function(parameters, invocation) {
+ this.close();
}
});