Added a confirm dialog demo.