Can we replace the pseudo-selector with a (likely much faster) class selector? Shouldn't `.ui-button` do the trick? Maybe select based on class, then filter using the pseudo-selector to make sure we don't run into css-only buttons? Maybe it doesn't matter since this only happens on reset...