Remove tabs correctly after `close` action
Fix tab label shortening