Added close tabs functionality to the dashboard