In my ASP.Net/VB project, I am facing an issue with floating DIVs. Whenever users try to close the floating DIV by clicking on the back button in their browser, it creates a confusing experience.
My solution is to add a "#" entry to the browser history when a user opens a form in a floating DIV by clicking a button. This way, if the user accidentally hits the back button while the form is displayed, they will remain on the same page without any disruption. When the user closes the form, the "#" entry should be removed from the browser history. This ensures smooth navigation for the user.
If you are familiar with implementing this feature or know if it is possible, please let me know. I would appreciate any guidance to avoid wasting time on something that may not be achievable.