Fixed tabClose event