Can now add and remove tabs dynamically.