var closeButton = document.getElementById('closeButton');
// When the user clicks on the close button, close the modal
closeButton.onclick = function() {
modal.style.display = "none";
}
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}