add popup function to the embeded map. Uses esri.dijit.Popup class