Error modal

Adding convenience method for generating error message modals