persist selections for documents