save current tab state in browser history