diff --git a/src/openforms/js/components/formio_builder/WebformBuilder.js b/src/openforms/js/components/formio_builder/WebformBuilder.js index a8c18f8b29..b3195489cf 100644 --- a/src/openforms/js/components/formio_builder/WebformBuilder.js +++ b/src/openforms/js/components/formio_builder/WebformBuilder.js @@ -184,6 +184,7 @@ class WebformBuilder extends WebformBuilderFormio { // Clean up. this.removeEventListener(this.dialog, 'close', dialogClose); this.dialog = null; + root.unmount(); }; this.addEventListener(this.dialog, 'close', dialogClose);