adding HTML examples to tell

also adding onOk onCancel and onClose callbacks