Filter out non-standard modifiers when capturing keys for bindings