I have tried calling self.history.back() as well, in order to avoid any conflict between the history of the parent and child windows, but it does not work either.
I'm sure that the pop-up window has it's own history, but as I said the correct history.back() function is being executed, it's...