added a keyboard resignation