Added hidden close button upload
Don't close upload when an error occurred #203
Removed unused functions from the old uplaod
Close upload when clicking the close button
Build #203