Modal is not closing!

I have a layout. It has two pages. I can redirect into both pages internally.
Now, In one page I am opening a modal. It works fine. But when I redirect back to my previous page, using the back controls of the device (Back button of browser and in mobile) the modal content disappears but the modal background remain over the content. This content is removable with any controls. My only choice is to refresh the page.

FYI: This error is in single page applicant pages.

Can it be solved ?

Community Page
Last updated: