Hide dashboard when changing repo - it can be called when dashboard is v...

...isible. Closes #1763 and #1769.