private void setConfirmResultConverter() {
   setResultConverter(
       (dialogButton) -> {
         List<PickerAssignee> finalUsers = state.getCurrentUsersList();
         Optional<PickerAssignee> selectedAssignee =
             PickerAssignee.getSelectedAssignee(finalUsers);
         return new AssigneePickerDialogResponse(
             dialogButton, selectedAssignee.map(PickerAssignee::getLoginName));
       });
 }
 private void refreshUI(AssigneePickerState state) {
   populateAssignedUser(state.getCurrentUsersList(), assignedUserPane);
   populateMatchingUsers(state.getMatchingUsersList(), matchingUsersBox);
 }