search after opts selection, force a variable to be selected in dialog