Added ability to dismiss the keyboard