My goal here is to be able to dynamically add and remove tabs. I'd like to use a close icon on the tab to trigger the removal. A special plus tab at the end would be used to add new tabs. The jsfiddle below is my attempt to do this but I'm noticing the content is getting mixed with the tabs as they're being removed. Can anyone help with what I'm doing wrong or perhaps suggest a better approach? Thanks.