Try evaluating the variable

did -a dialog 1 $(%fd,2)