show error modals only if error messages loaded