quasi modal alert-, confirm- and prompt dialogs in JavaScript