Setup depTree to define a click action