remove TreeHelper.ModeChanged event