How do I keep the preview message from popping up on other pages after someone has closed out the chatbot on one page? Something similar to this: <div> <script type="module"> import Typebot from '...';
// Check if the user has closed the bubble before const hasDismissedBubble = localStorage.getItem('typebotDismissed') === 'true';
// Listen for the bubble close event and save the dismissal Typebot.on("bubbleClosed", () => { localStorage.setItem('typebotDismissed', 'true'); }); </script> </div>