How to Create Alert, Prompt, Confirm Dialog Boxes Using JavaScript?