Fix the login popup on show. (execute vs pass function reference)