put correct error msgs for visibilitychange modal tests