Made it so closing a tab returns the user to the oveview panel.

Fixes #350