Deleting tabs functionality added.