How to terminate a inputbox without confirm button

what i should do

  1. click box
  2. type content
  3. click somewhere else

i record a marco but it doesnt close which stops me click pages next button