[#2074] Minor tweaks for DialogHelper::select method