Fix double dialog in plupload.