New variable-handling for the EditDialog