mat-dialog wont close after click code example Example: mat dialog disable close this.dialog.open(DialogComponent, { disableClose: true });