Adds native events to the umb-tree directive

Better and isolated callbacks