fixed upload file dialogue