I’m not able to upload a document in generate document in step

Currently we are working in a dev environement for Pega Sales Automation version ‘23 and we need to generate a document in a step. I know how to add all the properties and so on and wanted to upload the document. But I can’t upload the document it gives me 2 option buttons: Continue working or Delete adding. But the upload never appears. So is there some configuration that we have to do? I thought this is an OOTB feature and you can add your document. Or is it because we added an development application on top of our application?
Thanks in advance

It is working, I found the solution. I created a rule for my class in the Word Template and added the document there. From there I could select my document: