fix #683 touch dialog events test randomly fails