input: add special handling for tabbox modifiers
modifiersRelevantForTabBox handles modifiers being consumed, which is wrong for the tabbox; all it needs is to ignore capslock. To ensure that happens, this commit adds a separate method for modifiers relevant for the tabbox.
(cherry picked from commit 1ace5a4c)