# Go back on browser opens overlay, how to stop this

**URL:** <https://community.glideapps.com/t/go-back-on-browser-opens-overlay-how-to-stop-this/61209>\
**Category:** Ask for Help\
**Created:** [May 1, 2023, 3:41am UTC](https://community.glideapps.com/t/go-back-on-browser-opens-overlay-how-to-stop-this/61209 "2023-05-01T03:41:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kiwi](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kiwi/32/60332_2.png) [@Kiwi](https://community.glideapps.com/u/Kiwi)\
**Post date:** [May 1, 2023, 3:41am UTC](https://community.glideapps.com/t/go-back-on-browser-opens-overlay-how-to-stop-this/61209/1 "2023-05-01T03:41:48Z")

</div>

Hi,

I have a checkout like situation where the checkout page comes from a product overlay page. Everything is working fine but when a user presses “go back” button on their browser the glide page goes back to the product overlay - essentially allowing them to change their product again.

How can I stop the overlay from appearing when user clicks go back? Is it possible?

Thanks, Clare

---

<div class="post-metadata">

**Author:** ![agung\_Taufik](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/agung_taufik/32/2589_2.png) [@agung\_Taufik](https://community.glideapps.com/u/agung_Taufik)\
**Post date:** [May 1, 2023, 4:53am UTC](https://community.glideapps.com/t/go-back-on-browser-opens-overlay-how-to-stop-this/61209/2 "2023-05-01T04:53:05Z")

</div>

this is also the condition that I face, and I have not found the answer.

> [@Glide back button vs native device back button](https://community.glideapps.com/t/glide-back-button-vs-native-device-back-button/61191):
>
> Hi… the expected behavior, when the user has selected a product, the user will not be able to re-select the same product. it works when the user presses the default Glide back button which is in the upper left corner. but when the user presses the default back button from the original device, it will go to the previous screen, and when the user selects the product it can still be done, and this is what I didn’t expect. how to prevent this from happening.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [May 1, 2023, 10:58pm UTC](https://community.glideapps.com/t/go-back-on-browser-opens-overlay-how-to-stop-this/61209/3 "2023-05-01T22:58:34Z")

</div>

> [@Glide back button vs native device back button](https://community.glideapps.com/t/glide-back-button-vs-native-device-back-button/61191/8):
>
> Ohh interesting concept! Thank you I actually ended up hiding the buy button all together if they had purchased that item, and it’s working great

As we have discussed in the other thread, this should be the solution.
