Implemented alert(), confirm(), prompt() dialogs