Fix on delete bug for tree grid

1. only fire onDelete if it is a child
2. avoid clearing open path  after on delete