Allow highlighting of errors and make popup optional