Added confirm and callback usage examples.

Added an alert() dialog example with callback for "OK" button. Added one example for confirm() dialog with callbacks for both "OK" and "Cancel" buttons.