Streaming live at 10am (PST)

Code Needed for Back Button on Android to Close Modals and Drawers

Hi,

Can anyone help with what I hope is basic JS code to close pop-ups, modals and drawers with the back button on Android. Currently pressing back, takes the page back to the previous page.

I’ve provided a read only link below if needed.

Thanks so much in advance.

M

https://preview.webflow.com/preview/toggery-70233d0433c9eebdd8b1fee8dc3fc19?utm_medium=preview_link&utm_source=designer&utm_content=toggery-70233d0433c9eebdd8b1fee8dc3fc19&preview=7055793efcbf8254c03d9a4b3784a37c&pageId=602bad59ed89ecd064cb58e6&mode=preview
([how to share your site Read-Only link][2])