working on pop up valdiation errors