Update modal window to go through years (not only last) for documents
Use document if a cell is unavailable instead of the last item