diff --git a/src/Modal.js b/src/Modal.js index 2e5624aa67..f55e497e6f 100644 --- a/src/Modal.js +++ b/src/Modal.js @@ -201,7 +201,6 @@ class ModalManager { */ createDialogAsync(prom, props, className, isPriorityModal, isStaticModal, options = {}) { const {modal, closeDialog, onFinishedProm} = this._buildModal(prom, props, className, options); - modal.close = closeDialog; if (isPriorityModal) { // XXX: This is destructive this._priorityModal = modal;