Use new validators to prevent users from entering duplicate or invalid entries
Bind "OK" button's enabled state to the result of validation. Also reset content of all fields before the dialog shows up, because it is being reused between different sections.
parent
8c951549