Steps to reproduce:
- go to deployments view in cockpit
- open dialog to create a new deployment by clicking on Deploy
- choose a file
- choose another file
The second file "overwrites" the first one.
The second file is added to the deployment without overwriting the first one.