How to create a dialog with “yes” and “no” options How to create a dialog with “yes” and “no” options javascript javascript