ebel dialog: changing the element updates the density

using the ElementDensity function of xraylib