Sometimes when you dialog controls, the last "OK" button added to the front panel has the focus turned on by default. You can right click on the control and select "Customize >> Key Navigation" and select "None" in the list.
It seems you have a different problem and are using event structure. Nomally we use the "Value Change" as event condition. Is it possible that you may choose a different condition, such as "Key Down, Key up, etc"? -Joe