Simple wrapper for yes/no dialog, containing any data.
Creates a dialog window with title of title, appends contentDiv into it. Various options specify its appearance and behavior:
Shows the dialog.
Hides the dialog.
Callback to be performed when user clicks 'OK' button.
Callback to be performed when user clicks 'Cancel' button.
var d = new OAT.Dialog("dialog", div, {modal:1, buttons:1});
d.show();