updated error highlighting logic, added modals to translate page