Add focus in edit dialogs. Adjust values when editing element from list.