cleanup of upload dialog, cont.