Can't bind to 'mat-dialog-close' since it isn't a known property of 'button'.ngtsc(-998002)+ code example
Example: Can't bind to 'mat-dialog-close' since it isn't a known property of 'button'
import {MatDialogModule} from '@angular/material';
...
@NgModule({
declarations: [
...
],
imports: [
...
MatDialogModule,
],