modal overlay, login redirects to referer