save tab as url in local storage