Tabs: fix saving of user's last visited tab

The sessionStorage key now includes the page's path to limit tab saving/restoring to page's the user has visited.

Fixes #4384.