store location for account apge before redirecting to login dialog