" data-close-on-esc="falddse">
      <h1>Modal 1</h1>
      <button type="button" class="primary" data-open="modal2">Open next Modal</button>
      <button type="button" class="close-button" data-close>
        <span>&times;</span>
      </button>
    </div>

    <div id="modal2" class="modal" data-modal>
      <h1>Modal 2</h1>
      <button type="button" class="close-button" data-close>
        <span>&times;</span>
      </button>
    </div>
  </div>
</div>

<script src="../dist/js/base.core.min.js"></scri