fixed tab closing so you dont just close the tab youre looking at