close tabs on delete
show tab when loading file