Changed the closable / unclosable tab controller, does not rely on instance of, hopefully will fix unclosable tab issue