t projectName = btn.dataset.project;
            document.getElementById('overview-project-name').textContent = projectName;
            overviewModal.style.display = 'flex';

            try {
                const response = await fetch(`/get_project_overview/${projectName}`);
                const data = await response.json();
                if (data.error) {
                    alert(data.error);
                    return;
                }

                document.getElementById('total-images-count'