{{#if isVisible}}
  {{#ember-wormhole to="wormhole-overlays" renderInPlace=renderInPlace}}
    <div class="twitch_subwindow_container"
      onclick={{action 'containerClick'}}
      data-test-selector="modal-container">
      <div class="twitch_subwindow" style={{subWindowStyles}} data-test-selector="modal-content">
        {{yield (hash close=(action 'closeModal'))}}

        <button {{action 'closeModal'}} class='modal-close-button' data-test-selector="modal-close-btn">
          {{svg-icon path='svg/close'}}
        </button>
      </div>
    </div>
  {{/ember-wormhole}}
{{/if}}
