dialogBox whether the search should be displayed as a dialog box or as a menu below the selected value if any.
final bool dialogBox;