Go back on browser opens overlay, how to stop this

As we have discussed in the other thread, this should be the solution.