This is a fallback to make sure refresh() is called for sure before opening. Its only needed when the focus event fails on certain browsers / interactions.