test upload dialog