Check modifiers on tab/enter keydown

To avoid autocompletion on "ctrl-tab", "shift-tab" or "alt-tab" key
press.