Minor improvement for upload dialog