Don't use "Upload" in directory file dialog UI

Fix #1457