{{#let (if @onClose @onClose (do-nothing)) as |onClose|}}
  <ModalDialog
    @targetAttachment="none"
    @onClickOverlay={{do-nothing}}
  >
    <div class="tp-modal-dialog"
      {{notify-tp-modal-dialog-service}}
      ...attributes
    >
      <div class="tp-modal-content" {{autofocus}}>
        {{yield
          (hash
            Header=(component "tp-modal-dialog/header" onClose=onClose)
            Body=(component "tp-modal-dialog/body")
            Footer=(component "tp-modal-dialog/footer" onClose=onClose)
          )
        }}
      </div>
    </div>
  </ModalDialog>
{{/let}}