diff --git a/packages/primevue/src/dynamicdialog/DynamicDialog.vue b/packages/primevue/src/dynamicdialog/DynamicDialog.vue index 1fe211c45..18b26c8fe 100644 --- a/packages/primevue/src/dynamicdialog/DynamicDialog.vue +++ b/packages/primevue/src/dynamicdialog/DynamicDialog.vue @@ -61,6 +61,7 @@ export default { methods: { onDialogHide(instance) { !this.currentInstance && instance.options.onClose && instance.options.onClose({ type: 'dialog-close' }); + delete this.instanceMap[instance.key]; }, onDialogAfterHide() { this.currentInstance && delete this.currentInstance;