close button is added to terminal tabs.