Sorry, but the function "return" can only return ONE string.

If you are calling another dialog to input information into it, and want that information to go into the other dialog, you simply do something like

Code:
on *:dialog:d2:sclick:200:{
  did -a d1 <ID> $did(d2,ID2)
  did -a d1 <ID> $did(d2,ID2)
}