closing a jquery overlay
<pre><code>&lt;div id="prompt2" class="simple_overlayFondoBlanco" style="padding: 5px 5px 5px 5px"&gt;
    &lt;asp:UpdatePanel runat="server" ID="upClausulas"&gt;
        &lt;ContentTemplate&gt;
         //....other controls
            &lt;a href="#" id="lbCancelar" class="contratacionVinculos close"&gt;Cancelar&lt;/a&gt;
        &lt;/ContentTemplate&gt;
    &lt;/asp:UpdatePanel&gt;
&lt;/div&gt;
</code></pre>

<p>and i have this jquery function:</p>

<pre><code>&lt;script type="text/javascript"&gt;
            function pageLoad() {
                var triggers = $("button.modalInput").overlay({
                    // some expose tweaks suitable for modal dialogs
                    expose: {
                        color: '#333',
                        loadSpeed: 200,
                        opacity: 0.3,
                        zIndex: 99
                    },
                    top: '15%',
                    closeOnClick: false
                });
            }
        &lt;/script&gt;
</code></pre>

<p>so the "a" is meant to close the overlay and it does good until i use one of the other controls in the div that produce postback. After that i can't get the "a" to close the overlay, only with ESC i can acomplished that.</p>

<p>What can i do?
Thank you.</p>
