public DialogFixture findDialog() {
DialogFinder finder = WindowFinder.findDialog(new QueryMatcher<Dialog>(Dialog.class, this));
if (timeoutInSeconds != null) {
finder = finder.withTimeout(timeoutInSeconds.intValue(), TimeUnit.SECONDS);
}
return finder.using(TestUtils.getRobot());
}
@Override
protected boolean isMatching(Component component) {
for (Criterion criterion : criteria) {