         })
                });

                const data = await response.json();
                
                if (!data.status || data.status !== 'success') {
                    throw new Error(data.error || 'Failed to load save data');
                }

                // Restore selection
                userSelectSave.value = currentValue;

                // Clear loading state
                editorContainer.innerHTML = '';
                
                // Create a basic textarea first for