Tree view: Add event hook on sub-item creation