<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Confirmation dialog when leaving page while using app in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Confirmation-dialog-when-leaving-page-while-using-app/m-p/1222041#M85346</link>
    <description>&lt;P&gt;I'm developing an app using the &lt;A href="https://hubspot.mintlify-auth-docs.com/docs/api-reference/crm-calling-extensions-v3/calling-sdk" target="_blank" rel="noopener"&gt;calling SDK&lt;/A&gt;, but am having some issues with unwanted confirmation dialogs poping up while navigating HubSpot while using the app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeroenCloudCTI_0-1762778916110.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/160957iF093A521EB72FA3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeroenCloudCTI_0-1762778916110.png" alt="JeroenCloudCTI_0-1762778916110.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've narrowed the cause down to this sequence of steps:&lt;/P&gt;&lt;P&gt;- The app is opened&lt;/P&gt;&lt;P&gt;- The app calls the SDK's incomingCall() method&lt;/P&gt;&lt;P&gt;- The app is minimized&lt;/P&gt;&lt;P&gt;- The user attempts to close/redirect/reload the tab&lt;/P&gt;&lt;P&gt;Not minimizing the app or using the SDK's callEnded method prevents the popup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can I do to prevent the popup from happening? I don't add any onbeforeunload event listeners in my app so I'm guessing it's done by HubSpot, what are its conditions for triggering exactly?&lt;/P&gt;</description>
    <pubDate>Mon, 10 Nov 2025 13:07:31 GMT</pubDate>
    <dc:creator>JeroenCloudCTI</dc:creator>
    <dc:date>2025-11-10T13:07:31Z</dc:date>
    <item>
      <title>Confirmation dialog when leaving page while using app</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Confirmation-dialog-when-leaving-page-while-using-app/m-p/1222041#M85346</link>
      <description>&lt;P&gt;I'm developing an app using the &lt;A href="https://hubspot.mintlify-auth-docs.com/docs/api-reference/crm-calling-extensions-v3/calling-sdk" target="_blank" rel="noopener"&gt;calling SDK&lt;/A&gt;, but am having some issues with unwanted confirmation dialogs poping up while navigating HubSpot while using the app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeroenCloudCTI_0-1762778916110.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/160957iF093A521EB72FA3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeroenCloudCTI_0-1762778916110.png" alt="JeroenCloudCTI_0-1762778916110.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've narrowed the cause down to this sequence of steps:&lt;/P&gt;&lt;P&gt;- The app is opened&lt;/P&gt;&lt;P&gt;- The app calls the SDK's incomingCall() method&lt;/P&gt;&lt;P&gt;- The app is minimized&lt;/P&gt;&lt;P&gt;- The user attempts to close/redirect/reload the tab&lt;/P&gt;&lt;P&gt;Not minimizing the app or using the SDK's callEnded method prevents the popup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can I do to prevent the popup from happening? I don't add any onbeforeunload event listeners in my app so I'm guessing it's done by HubSpot, what are its conditions for triggering exactly?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2025 13:07:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Confirmation-dialog-when-leaving-page-while-using-app/m-p/1222041#M85346</guid>
      <dc:creator>JeroenCloudCTI</dc:creator>
      <dc:date>2025-11-10T13:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Confirmation dialog when leaving page while using app</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Confirmation-dialog-when-leaving-page-while-using-app/m-p/1222242#M85361</link>
      <description>&lt;P&gt;Hey &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/688611"&gt;@JeroenCloudCTI&lt;/a&gt;&lt;/SPAN&gt; - thanks for posting in the Community!&lt;BR /&gt;&lt;BR /&gt;I'd like to tag in some experts to see what insight they may have for us! &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/74"&gt;@Phil_Vallender&lt;/a&gt;&lt;/SPAN&gt;, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259"&gt;@Mike_Eastwood&lt;/a&gt;&lt;/SPAN&gt;, and &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/91608"&gt;@alyssamwilie&lt;/a&gt;&lt;/SPAN&gt; - any thoughts here?&lt;BR /&gt;&lt;BR /&gt;Shane, Senior Community Moderator&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2025 20:21:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Confirmation-dialog-when-leaving-page-while-using-app/m-p/1222242#M85361</guid>
      <dc:creator>STierney</dc:creator>
      <dc:date>2025-11-10T20:21:31Z</dc:date>
    </item>
  </channel>
</rss>

