Implement a basic uncaught exception handler that displays an error dialog showing the exception reason and then terminates the application.