<DModalBody @headerClass="hidden">
  <div class="instructions">
    {{i18n "post.cancel_composer.confirm"}}
  </div>
</DModalBody>

<div class="modal-footer">
  <DButton
    @icon="far-trash-alt"
    @label="post.cancel_composer.discard"
    @class="btn-danger discard-draft"
    @action={{action "destroyDraft"}}
  />
  {{#if this.model.canSaveDraft}}
    <DButton
      @label="post.cancel_composer.save_draft"
      @class="save-draft"
      @action={{action "saveDraftAndClose"}}
    />
  {{/if}}
  <DButton
    @label="post.cancel_composer.keep_editing"
    @class="keep-editing"
    @action={{action "dismissModal"}}
  />
</div>