A flexible javascript popup dialog.
Simple Dialog with callback on closeModal Dialog from URLLayered Modal Dialogs