diff --git a/app/code/Magento/Ui/view/base/web/js/modal/alert.js b/app/code/Magento/Ui/view/base/web/js/modal/alert.js index 911d0e02578d2..b63294e3d8750 100644 --- a/app/code/Magento/Ui/view/base/web/js/modal/alert.js +++ b/app/code/Magento/Ui/view/base/web/js/modal/alert.js @@ -39,11 +39,18 @@ define([ }] }, + /** + * Create widget. + */ + _create: function () { + this.options.actions.always(); + this._super(); + }, + /** * Close modal window. */ closeModal: function () { - this.options.actions.always(); this.element.bind('alertclosed', _.bind(this._remove, this)); return this._super();