Determines how the error dialog renders