takes now an object of options for the Dialog, containing two possible callbacks (for confirm and cancel).
ed3065e
c9b690f6b6