pin field selected when the dialog opens