Fixed select box in edit dialog ignoring readOnly