text: export default function Modal() {
    const cancelButton = document.querySelector('.button.cancel')
    cancelButton.addEventListener("click", close)
  
    const modalWrapper = document.querySelector('.modal-wrapper')
  
    function open() {
      modalWrapper.classList.add("active")
    }
    function close() {
      modalWrapper.classList.remove("active")
    }
    return {
      open,
      close
    }
  
  }