Adding 'details' and 'query' buttons to tree list.