fixing edit group field population and focus