report all errors in a single alert. factor out validation methods and encapsulate them. for WEB-7056 +review WEBCR-305