Added a global close button for tabs.