Create an option to select a specific row where we can attach documents in the Files column when generating a document

When adding multiple rows will go into the document using filter and generating a file using Generate Document (green button), the document will be attached to the first row created. We would love to select a specific row where the document can be attached