<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 &quot;close&quot; button is pressed.</font>
<br><font size=2 face="sans-serif">I have searched the openlayers user
&nbsp;list and can't find what I'm going wrong. &nbsp;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. &nbsp;This
is my code...</font>
<br>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; popup
= new OpenLayers.Popup(&quot;featurePopup123&quot;,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; feature.geometry.getBounds().getCenterLonLat(),</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; new OpenLayers.Size(300, 150), html, null,
true,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; function() {</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; popupControl.unselectAll();</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; map.removePopup(popup);</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; });</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; popup.autoSize = true;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; 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>