Override for web browser's native alert() and confirm() functions using jQuery and jQuery UI.