pass errors from trial design backend to dialog alerts