better error handling in custom export async UIs + validation
Merge pull request #2801 from dimagi/export-validation

better error handling in custom export async UIs + validation