document.body.onload = () => {
    let openEditDetailsModal = document.getElementById("open-edit-details-modal");
    let closeEditDetailsModal = document.getElementById("close-edit-details-modal");
    let editDetailsModal = document.getElementById("edit-details-modal");
    editDetailsModal.style.display = "none";

    openEditDetailsModal.onclick = () => {
        console.log("clicked");
        editDetailsModal.style.display = "block";
    };
    closeEditDetailsModal.onclick = () => {
        editDetailsModal.style.display = "none";
    };

    closeEditDetailsModal.onclick = () => {
        editDetailsModal.style.display = "none";

    }
};

