finally it works ! had to add the content direcly to the popup using dojo.query().addContent