<form
  class="d-flex flex-column h-100"
  [formGroup]="createAssetProfileForm"
  (keyup.enter)="createAssetProfileForm.valid && onSubmit()"
  (ngSubmit)="onSubmit()"
>
  <h1 i18n mat-dialog-title>Add Asset Profile</h1>
  <div class="flex-grow-1 py-3" mat-dialog-content>
    <div class="mb-3">
      <mat-radio-group
        color="primary"
        [value]="mode"
        (change)="onRadioChange($event.value)"
      >
        <mat-radio-button name="auto" value="auto" />
        <label class="m-0" for="auto" 