add error alerts inside page and not in popup