implemented closing channel tabs