Add close button to the tab component