diff --git a/src/panels/lovelace/editor/dashboard-strategy-editor/dialogs/dialog-dashboard-strategy-editor.ts b/src/panels/lovelace/editor/dashboard-strategy-editor/dialogs/dialog-dashboard-strategy-editor.ts index 0a826b11b0..f2b2320283 100644 --- a/src/panels/lovelace/editor/dashboard-strategy-editor/dialogs/dialog-dashboard-strategy-editor.ts +++ b/src/panels/lovelace/editor/dashboard-strategy-editor/dialogs/dialog-dashboard-strategy-editor.ts @@ -172,12 +172,14 @@ class DialogDashboardStrategyEditor extends LitElement { `; } - private _takeControl() { + private _takeControl(ev) { + ev.stopPropagation(); this._params!.takeControl(); this.closeDialog(); } - private _showRawConfigEditor() { + private _showRawConfigEditor(ev) { + ev.stopPropagation(); this._params!.showRawConfigEditor(); this.closeDialog(); }