I would just put a sub in the activity to close itself
sub CloseMe
activity.finish
end sub
That's the easy way. The other way I send messages to an activity without doing that is to store the data/message in a variable, then just have a timer set up on the activity that checks the variable.