keyboard dismissal and keypad working