backInput"></textarea>
        <button class="submit-button" id="submitFeedback">Submit feedback</button>
      </div>
    </div>
  </dialog>

<script type="module">
// Fix animation issues with dialog element
document.addEventListener('DOMContentLoaded', () => {
  const dialog = document.getElementById('sidePanel');
  // Force browser to recognize dialog animations by adding a small delay
  dialog.addEventListener('cancel', (event) => {
    event.preventDefault();
  });
});

// Sample data
const items = [
