<section class="dialog">
    <div class="dialog-header heading-l">
        {{ 'add-entity.title' | translate }}
    </div>

    <div class="dialog-content">
        <redaction-add-edit-entity [dossierTemplateId]="data.dossierTemplateId" [entity]="null"></redaction-add-edit-entity>
    </div>

    <div class="dialog-actions">
        <iqser-icon-button
            (action)="save()"
            [disabled]="disabled"
            [label]="'add-entity.save' | translate"
            [submit]="true"
            [type]="iconButtonTypes.primary"
        ></iqser-icon-button>

        <iqser-help-button *ngIf="!config.IS_DOCUMINE" [helpButtonKey]="'create_new_entity'"></iqser-help-button>
    </div>

    <iqser-circle-button (action)="close()" class="dialog-close" icon="iqser:close"></iqser-circle-button>
</section>
