When I have a modal open, I go to another page and go back through the browser button to the previous page that had the modal open, it is not possible to close the modal, it only closes if the page is reloaded
Is it possible to apply some action so that the modal continues with the close function activated even in this case?