fix: don't show tab when closing