Can't bind to 'mat-dialog-close' since it isn't a known property of 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,
],