Prevent default keyboard actions.