Adding callback to change dialog msg in the parent window after login