Adding close option to new record

- Updating new record documentation with --close option
- Adding test for creating a new record with and without --close
You're pretty much guaranteed to have a boolean in `args.close`, so I would get rid of the variable `close` and just provide `args.close` in this call (as it is done for `args.hidden`).