<app-modal [headline]="'wallet.add-addresses.title' | translate" [dialog]="dialogRef" [disableDismiss]="button.isLoading()">
  <div [formGroup]="form">
    <div class="form-field">
      <label for="quantity">{{ 'wallet.add-addresses.name-quantity' | translate }}</label>
      <input formControlName="quantity" id="quantity" type="number" min="1" max="100" (keydown.enter)="continue()">
    </div>
  </div>
  <div class="-buttons">
    <app-button (action)="closePopup()" [disabled]="button && button.isLoading()">
      {{ 'wallet.add-addresses.cancel-button' | translate }}
    </app-button>
    <app-button (action)="continue()" class="primary" [disabled]="!form.valid" #button>
      {{ 'wallet.add-addresses.create-button' | translate }}
    </app-button>
  </div>
</app-modal>
