  return;
        
        const overlay = document.createElement('div');
        overlay.className = 'overlay';
        overlay.style.display = 'block';

        const dialog = document.createElement('div');
        dialog.className = 'share-dialog';
        dialog.innerHTML = `
                <h3>Share Mindmap</h3>
                <p>Generating share link...</p>
                <div class="loading-spinner"></div>
            `;

        document
            .body
            .appendChild(overlay);
      