Is it possible to close a popup by pressing the browser back button?
Reason I need this is because i have a Single Page App and my user sign up form is a popup. So if a user clicks ‘‘sign up’’, popup shows then click the back button, it exits the entire website/app. I’d prefer for the popup to close so the user still remains on my app. Any ideas?