Replacements for standard browser alert and confirm windows