master-detail improvments in forms