Working on the close button for tabs