close keyboard on settings save or when tap outside field