Dynamically add and remove tabs