ue;
        } finally {
            createProjectBtn.style.display = 'block';
            hideLoadingOverlay();
            clearStoredData();
        }
    });    

    document.querySelectorAll('.import-btn').forEach(btn => {
        btn.addEventListener('click', (e) => {
            e.stopPropagation();
            currentImportProject = btn.dataset.project;
            document.getElementById('import-project-name').textContent = currentImportProject;
            importModalElement.style.display = 'flex'