There is need to provide example how to pass promises to Process. I found this: https://gerrit.wikimedia.org/g/mediawiki/extensions/BlueSpiceSocialTopics/+/ff23a0c2cbbaf89d8cc12f6616d23480e7193d77/resources/EntityList/CreateDiscussionPage/Dialog.js#71
Talk:OOUI/Windows/Process Dialogs
Appearance