When you inadvertently close a tab, could you set things up so that ‘Command Z’ reopens it?
Also, I can’t say that I"m a big fan of the tabs being at the very top of the window… maybe that’s just me… but it’s also very sensitive when you go to rearrange the tabs within a window, it wants to create a separate window if you deviate away from the line of tabs almost immediately…