Saving items on close and reading on open.