Add error modal to clean up error styling. Refs #257.

Adds error-specific modal that uses `<pre>` for error text.