Fix check for modifier-only keyboard events

There was previously a check of the BrowserModifiers set, but it wasn't
getting populated correctly. This renames the set to
KeyboardEventModifiers and correctly populates it, eliminating the need
for a later check.