{{#if this.hasOverlay}}
  <EmberWormhole @to={{this.destinationElementId}}>
    <EmberModalDialog::Overlay
      class={{this.overlayClassNamesString}}
      @onClickOverlay={{this.onClickOverlay}}
    />
  </EmberWormhole>
{{/if}}
<EmberTether
  class={{this.containerClassNamesString}}
  @target={{this.tetherTarget}}
  @attachment={{this.attachment}}
  @targetAttachment={{this.targetAttachment}}
  @targetModifier={{this.targetModifier}}
  @classPrefix={{this.tetherClassPrefix}}
  @offset={{this.offset}}
  @targetOffset={{this.targetOffset}}
  @constraints={{this.constraints}}
  ...attributes
>
  {{yield}}
</EmberTether>