Is this in an On DIALOG event? If not, you have to specify the dialog name in the $did.

Dana