using localStorage to handle cloud push to new window #13