utton = document.getElementById("submitFeedback");
const nameInput = document.getElementById("nameInput");
const feedbackInput = document.getElementById("feedbackInput");
const dialogModeToggle = document.getElementById("dialogModeToggle");
const modeLabel = document.getElementById("modeLabel");

// Track current dialog mode
let useModalMode = false;

// Toggle between show() and showModal()
dialogModeToggle.addEventListener("change", (event) => {
  useModalMode = event.target.checked;
  modeLabel.textConte