<h1 mat-dialog-title>{{data.name}}</h1>

<div mat-dialog-content>
  <mat-form-field appearance="fill">
    <mat-label>Instance name</mat-label>
    <input matInput required [(ngModel)]="data.instance">
  </mat-form-field>
</div>
  <div mat-dialog-content>
  <mat-form-field appearance="fill">
    <mat-label>Instance comment</mat-label>
    <textarea matInput required [(ngModel)]="data.comment" ></textarea>
  </mat-form-field>
</div>

<div mat-dialog-actions>
  <button mat-button (click)="onNoClick()">Cancel</button>
  <button mat-button [mat-dialog-close]="data" cdkFocusInitial>Add</button>
</div>


