'mat-dialog-actions' is an Angular component, then verify that it is part of this module. code example
Example: error NG8001: 'mat-dialog-content' is not a known element
// mat-dialog-content should be used as a directive, not a component
<div mat-dialog-content>
Modal Content
</div>