<h1 mat-dialog-title>{{data.title}}</h1><div mat-dialog-content><p>{{data.message}}</p></div><div mat-dialog-actions><a mat-button (click)="onDismiss()">No</a> <a mat-raised-button color="primary" (click)="onConfirm()">Yes</a></div>