JavaScript to create 'modal'  Alert, Confirm, Prompt and Select Dialogs