IDEUI-142: add keypress event listener to the tree component.