form modal now show errors