added click to add Marker functionality