<digi-ng-dialog
  *ngIf="openConfirmDialog"
  [afActive]="openConfirmDialog"
  (afOnPrimaryClick)="sendRequest()"
  (afOnSecondaryClick)="closeConfirmDialog()"
  (afOnInactive)="closeConfirmDialog()"
  afHeading="Bekräfta"
  afHeadingLevel="h2"
  [afAriaLabel]="'Bekräfta skicka in ' + itemToConfirm"
  afPrimaryButtonText="Skicka"
  afSecondaryButtonText="Avbryt"
>
  <p>Är du säker på att du vill skicka in en {{itemToConfirm}}?</p>
</digi-ng-dialog>
