remove tab if already open