added close buttons to tabs