Hide dashboard when changing repo - it can be called when dashboard is visible. Closes #1763 and #1769.