diff --git a/src/dialogs/MessageDialog.js b/src/dialogs/MessageDialog.js
index <HASH>..<HASH> 100644
--- a/src/dialogs/MessageDialog.js
+++ b/src/dialogs/MessageDialog.js
@@ -57,8 +57,8 @@ OO.ui.MessageDialog.static.title = null;
 OO.ui.MessageDialog.static.message = null;
 
 OO.ui.MessageDialog.static.actions = [
-	{ 'label': OO.ui.deferMsg( 'ooui-dialog-message-accept' ), 'flags': 'primary' },
-	{ 'label': OO.ui.deferMsg( 'ooui-dialog-message-reject' ), 'flags': 'safe' }
+	{ 'action': 'accept', 'label': OO.ui.deferMsg( 'ooui-dialog-message-accept' ), 'flags': 'primary' },
+	{ 'action': 'reject', 'label': OO.ui.deferMsg( 'ooui-dialog-message-reject' ), 'flags': 'safe' }
 ];
 
 /* Methods */
Give MessageDialog actions 'action' properties

Otherwise the actions have to be competely overridden to be usable.

Change-Id: Ic4c<I>b<I>c<I>f8fb9dfbd<I>ce