Dismisses keyboard when 'Done' clicked and error visible