<form
  class="d-flex flex-column h-100"
  [formGroup]="accessForm"
  (keyup.enter)="accessForm.valid && onSubmit()"
  (ngSubmit)="onSubmit()"
>
  <h1 i18n mat-dialog-title>Grant access</h1>
  <div class="flex-grow-1 py-3" mat-dialog-content>
    <div>
      <mat-form-field appearance="outline" class="w-100">
        <mat-label i18n>Alias</mat-label>
        <input
          formControlName="alias"
          matInput
          type="text"
          (keydown.enter)="$event.stopPropagation()"
        />
     