File selection made empty after successful upload.