Demonstrates the usage of an error dialog