Simple wrapper for OK/Cancel dialog, that can contain any data.
Creates a dialog window with title of title, puts 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();