mat-form-field>

  <mat-form-field>
    <mat-label>Height</mat-label>
    <input matInput [(ngModel)]="height" type="text" />
  </mat-form-field>
</section>

<section>
  <mat-checkbox [(ngModel)]="hasBackdrop">HasBackdrop</mat-checkbox>
</section>

<section>
  <mat-checkbox [(ngModel)]="disableClose">DisableClose</mat-checkbox>
</section>

<section>
  <mat-checkbox [(ngModel)]="closeOnNavigation">CloseOnNavigation</mat-checkbox>
</section>

<h2>Result</h2>

<button mat-raised-button color="primary" (click)=