added ability to dismiss keyboard