I have a situation where I might or might not get a dialog box. I'm not sure how to test for that. The capture had the box, so when I re-run and there is no box, it eventually times out, but I don't really want to do it that way. I'm looking for "if dialog box, then..."