="text" class="share-link" value="${shareUrl}" readonly>
                        <div class="dialog-buttons">
                            <button class="dialog-button cancel" onclick="closeShareDialog()">Close</button>
                            <button class="dialog-button confirm" onclick="copyShareLink()">Copy Link</button>
                        </div>
                    `;

                document
                    .body
                    .appendChild(overlay);
                document
        