fixed hot keys to only work when user isn't typing in an input or something