';
            }
        }

        async function userSelectedSave() {
            const userSelectSave = document.getElementById('userSelectSave');
            
            if (!userSelectSave.value) return;
            
            try {
                const user = JSON.parse(userSelectSave.value);
                const currentValue = userSelectSave.value; // Store current selection
                
                // Show loading state
                const editorContainer = document.getElementById('ed