Spatial light confinement and laser emission from a gain medium containing dendrimer