close and re open tabs