Added the ability to remove tabs that were generated