Making changes to a thing while a file is already uploaded

I’m struggling with the following problem, I couldn’t find the right words to find a related topic, so i made a new one.
Im making changes to a thing while there is already a file uploaded. When i hit “opslaan” (save) the file gets deleted. The filename is shown, but the uploader sees it as empty.

How do work around this?

  1. Is there a way to get the actual file in the uploader?
  2. Or do i construct an edit_mode with a button for changing the file

Thanks !!

Fixed it myself with states XD