  document
            .body
            .appendChild(dialog);

        try {
            const response = await fetch('https://share.mindmapwizard.com/', {
                method: 'POST',
                headers: {
                    'Content-Type': 'application/json'
                },
                body: JSON.stringify(
                    {topic: currentMindmap.topic, markdown: currentMindmap.markdown, timestamp: currentMindmap.timestamp}
                )
            });

            const data = aw