corrected upload dialog