I have an ajax member search which is all but done, but one of the remaining things left to do is driving me insane.

The UI calls for a modal window or popup of some kind to open up on click when you click on the add a friend link from within the ajax results. However, no matter what I try I can't get anything to work.

Ideally I would just open up a hidden div from within the ajax results in order to easily have all of the values set for each individual result such as the userid of each result.

Is there any way at all that I can do this or am I just sol on this functionality?