tab closes after tab->close->save