The document upload interface is a separate modal from the main form. When the modal is hidden the state is also hidden. I propose moving the file upload to be a new section in the main form.
Specifically, I think that a dynamic table can get the job done. something like:
