Added ui improvement for upload dialog