working subjectselector dialog;