# Alpha : How to show confirmation dialog on browser close or navigation for unsaved changes?

**URL:** https://community.neutrinos.com/t/alpha-how-to-show-confirmation-dialog-on-browser-close-or-navigation-for-unsaved-changes/1532
**Category:** Neutrinos Platform
**Tags:** neutrinos-alpha
**Created:** [November 25, 2025, 8:22am UTC](https://community.neutrinos.com/t/alpha-how-to-show-confirmation-dialog-on-browser-close-or-navigation-for-unsaved-changes/1532 "2025-11-25T08:22:41Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![shubham.dhamne](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/6a8cbe/32.png) [@shubham.dhamne](https://community.neutrinos.com/u/shubham.dhamne)
#### Post date: [November 25, 2025, 8:22am UTC](https://community.neutrinos.com/t/alpha-how-to-show-confirmation-dialog-on-browser-close-or-navigation-for-unsaved-changes/1532/1 "2025-11-25T08:22:41Z")

</div>

Hi everyone,  
I’m working on a feature where the user fills in a form. If there are **unsaved changes** , I want to:

- Show a warning dialog when the user tries to:

The dialog should show options like:

- **Save & Leave**

- **Leave Without Saving**

- **Cancel**

I know that browser `beforeunload` dialogs are very limited and don’t allow custom UI, so I’m not sure how to approach this properly.  
In alpha Do we have custom function for this?

@Simphiwe @Sam @gaurav.pandey @shiv

---

<div class="post-metadata">

### Author: ![Simphiwe](https://community.neutrinos.com/letter_avatar_proxy/v4/letter/s/3be4f8/32.png) [@Simphiwe](https://community.neutrinos.com/u/Simphiwe)
#### Post date: [November 26, 2025, 9:06am UTC](https://community.neutrinos.com/t/alpha-how-to-show-confirmation-dialog-on-browser-close-or-navigation-for-unsaved-changes/1532/2 "2025-11-26T09:06:32Z")

</div>

Hi @shubham.dhamne ,

Please find the attached post link below for that:  
[Alpha Change Tracker Plugin Documentation - Community / Best Practices & Tutorials - Neutrinos](https://community.neutrinos.com/t/alpha-change-tracker-plugin-documentation/396/2)

That should assist you if it doesn’t you can let me know.
