add doneclick to hiding keyboard via menubar