First of all: To optinmize performance and minimize Lookups I would use a separate field for the lookup of the values (lets call it ValueList, it can be computed for Display, has to allow multiple value).
Then as formula for your DialogBox just enter the name of the field ValueList
And in the Default- Value formula of the Dialog- Field you enter:
@Subset( ValueList ; 1 );
if your ValueList looks like this:
SomeValue|1
AnotherValue|2
then the formula in the default value would look like:
@Word( @Subset( ValueList ; 1 ); "|" ; 2 )
If your lookup depends on another field in the form, and may change, then the Default- Value formula is NOT enough as it is only calculated once on the first document open of a new document. Then your Input Validation- Formula could look like:
@If( @IsMember( @ThisValue; ValueList ); @ThisValue; @Subset( ValueList ; 1 ) )
This would make sure, that if your lookup- formula changes and the current value is not in the list of possible changes anymore, that it again selects the first value from the (new) list...
of course all of this needs some "finetuning", but basically that should solve your Problem.