ass="controls">
    <div class="toggle-container">
      <span class="toggle-label">Dialog Mode:</span>
      <label class="toggle-switch">
        <input type="checkbox" id="dialogModeToggle">
        <span class="toggle-slider"></span>
      </label>
      <span class="mode-label" id="modeLabel">show() - Non-modal dialog</span>
    </div>
  </div>

  <main>
    <div class="item-list" id="itemList">
      <!-- Items will be inserted here by JavaScript -->
    </div>
  </main>

  <dialog id="sidePanel">
   