added error display to modals
added coloring to error display