In the case where there will be a popup opening on a page (not sure if it will be via ajax or js yet) and I need a function to fire when the popup closes, will Drupal.behaviors act like .live in that it will bind the function to the event at the time that the selector becomes available (read: the popup eventually exists) ? I was thinking perhaps this is where attachbehaviors is supposed to be used, but that, I think, implies that I can alter the code that creates the popup, and I cannot...I just need to 'hook' into its close event.
Jeff
