<font size=2 face="sans-serif">Hi -</font>
<br>
<br><font size=2 face="sans-serif">I have an openlayers popup dialog box
and the callback method defined in the constructor isn't being called when
the dialog box "close" button is pressed.</font>
<br><font size=2 face="sans-serif">I have searched the openlayers user
list and can't find what I'm going wrong. The big problem is
that when the dialog box is displayed the item that is selected when the
dialog box is displayed is staying selected.</font>
<br><font size=2 face="sans-serif">This is a a big problem. This
is my code...</font>
<br>
<br>
<br><font size=2 face="sans-serif"> popup
= new OpenLayers.Popup("featurePopup123",</font>
<br><font size=2 face="sans-serif">
feature.geometry.getBounds().getCenterLonLat(),</font>
<br><font size=2 face="sans-serif">
new OpenLayers.Size(300, 150), html, null,
true,</font>
<br><font size=2 face="sans-serif">
function() {</font>
<br><font size=2 face="sans-serif">
popupControl.unselectAll();</font>
<br><font size=2 face="sans-serif">
map.removePopup(popup);</font>
<br><font size=2 face="sans-serif">
});</font>
<br><font size=2 face="sans-serif">
popup.autoSize = true;</font>
<br><font size=2 face="sans-serif">
popup.addCloseBox();</font>
<br>
<br><font size=2 face="sans-serif">I've tried several version of openlayers
and am currently using 2.7.4.</font>
<br>
<br><font size=2 face="sans-serif">thanks,</font>
<br><font size=2 face="sans-serif">Douglas Kunzman<br>
12201 Sunrise Valley Drive<br>
Reston, VA 20192<br>
Phone: 703 648-4234<br>
dkunzman@usgs.gov</font>