Support onItemClick option for HierarchyWidget