added close button to the tab