second working version... added close info window feature