diff --git a/src/modal_dialog/index.js b/src/modal_dialog/index.js index a2f72db6f..62db6eec8 100644 --- a/src/modal_dialog/index.js +++ b/src/modal_dialog/index.js @@ -213,8 +213,9 @@ export default () => { render() { if (this.getConfig().custom) return; const View = ModalView.extend(c.extend); - modal && modal.remove(); + const el = modal && modal.el; modal = new View({ + el, model, config: c });