disable generate button when trial has measurement already

issue: GCP-9758
reviewer: Dan Jao