Run function on PopUpClose

Does anyone know how i can trigger a function when i close a director class popUp? Just wondering if there is a “onComplete” or anything for the PopUp after its been closed.

Thanks [import]uid: 19620 topic_id: 18564 reply_id: 318564[/import]