Tweak confirmation logic for directory upload