Set up events to update the condition fields base on clicks to the gate
list.