dynamic records generation for trees - Test to be done! - bugs with delete form buttons