$did(new_table,1).seltext will return the selected text in the combo, so maybe you want something like:

Code:
on *:dialog:new_table:sclick:2:/join $$did($dname,1).seltext