diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/debug/debug.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/debug/debug.element.ts
index c3567dd204..195e409e60 100644
--- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/debug/debug.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/debug/debug.element.ts
@@ -101,15 +101,11 @@ export class UmbDebug extends UmbLitElement {
this._debugPaneOpen = !this._debugPaneOpen;
}
- private async _openDialog() {
- // Open a modal that uses the HTML component called 'umb-debug-modal-layout'
- await import('./debug.modal.element.js');
- this._modalService?.open('umb-debug-modal-layout', {
- size: 'small',
- type: 'sidebar',
- data: {
- content: this._renderContextAliases(),
- },
+ private _openDialog() {
+ this._modalService?.openBasic({
+ header: html`