add error window on coa edit page