Error ‘mat-dialog-content’ is not a known element
It looks like you forgot to import the MatDialogModule into your AppModule (at least I don’t see it in the list of imports provided). For future reference, the first line of the API documentation tab will tell you the module(s) you need to import.