Aggregate-dialog: Preselect summary function and variable name.