close tab when open new tab from file tree