fixed opening of extra tab when closing editor