addTapGestureThatClosesKeyboard returns its gesture recognizer so users can customize behavior