Add option to use a different error div, fix error display