Re application of validation logic (to prevent save of trial when changing treatment factor / environment tabs)

Post commit code review : Chezka Arevalo