pass confirmed trial design as json string to design commit function in the controller