Load HTML into a DIV and then use Dialog from loaded html

Load HTML into a DIV and then use Dialog from loaded html

I have a page where I do:
 
$("#pendingEmployees").load('pendingemployees.php?randval='+ Math.random());
 
This loads a small list into a small box on a much larger page.  Once the list is there, I want the user to be able to click on an item in the list and have a UI-Dialog display with information on that employee.  However, it seems that the html that is loaded can not be used for jquery or such.  What am I doing wrong?  Is there something I need to do with this?  Is there an example of using Dialog from data that is LOADED via AJAX?
 
Thanks in advance.
 
Lee Goolsby