Adding a Button to a Tabview as a tab

How do I add a button as a tab in a tabview? I’m trying to make a tabbar where it functions similarly to a “Add New tab” in a web browser where it moves dynamically to the number of tabs open. Right now, I have it to where the button because I am adding the button as a cell. When I click on the button, I think it is registering as a view first then button. When I click on the button, it changes the view to the button itself.

If this is now possible, is there a way where I can place the button to the right side of all the tabs in a fixed position, that way it doesn’t need to move?

If you go to Tabbar+Multiview approach instead of Tabview you can use:
https://snippet.webix.com/n4h4g0y4

https://docs.webix.com/desktop__tabbar.html