nd map? This action cannot be undone.</p>
                <div class="dialog-buttons">
                    <button class="dialog-button cancel" onclick="closeDeletePopup()">Cancel</button>
                    <button class="delete-button confirm delete" onclick="confirmDelete('${id}')">Delete</button>
                </div>
            </div>
        `;
        document
            .body
            .appendChild(deletePopup);
    }

    function closeDeletePopup() {
        const popup = document.querySelec