I’m trying to create window tabs such as this
and I want it to function like a real browser tab where when I open a new window, a tab adds in and when I want to rid of it, I just simply delete the tab and its gone. Problem is I cant quite quite get the logic to it and cannot make it into reality. I need help with this.