Prevent advanced settings being retained after closing upload dialog.

    Prevents both file path and custom upload parameters from remaining
    when the multi-file-upload dialog is closed and re-opened.