Set tab closable, and coreID will be changed whe a tab is closed.