diff --git a/src/material/dialog/dialog.ts b/src/material/dialog/dialog.ts index 0c96aa4b579c..f85a26a40055 100644 --- a/src/material/dialog/dialog.ts +++ b/src/material/dialog/dialog.ts @@ -82,7 +82,7 @@ export class MatDialog implements OnDestroy { private readonly _openDialogsAtThisLevel: MatDialogRef[] = []; private readonly _afterAllClosedAtThisLevel = new Subject(); private readonly _afterOpenedAtThisLevel = new Subject>(); - private _dialog: Dialog; + protected _dialog: Dialog; protected dialogConfigClass = MatDialogConfig; private readonly _dialogRefConstructor: Type>;