added UI functionality for data trees