ViewBtn');
        const listContainer = document.getElementById('modalListViewContainer');
        const treeContainer = document.getElementById('modalTreeViewContainer');
        
        if (view === 'list') {
            listViewBtn.classList.add('active');
            treeViewBtn.classList.remove('active');
            listContainer.style.display = 'block';
            treeContainer.style.display = 'none';
        } else if (view === 'tree') {
            listViewBtn.classList.remove('active');
       