Noobie jquery class Q : internal function calls
<p>I've got a breakpoint on line this.hide(); It gets found appropriately in firebug, but never passes through to the hide : function(). I assume that I'm making a really embarrassing noobie syntax error. Can someone please tell me the proper way to make this internal call?</p>

<p>Thanks!</p>

<pre><code>var myDialog = myControl.extend( { 
    //init  

    show : function() {
        if (this.isModal) {
            this.overlay.unbind("click");
        } else {
            this.overlay.click(function(e) {
                this.hide();
            });
        }
    },

    hide : function() {
        this.overlay.hide();
        this.dialog.fadeOut(300);
    }
});
</code></pre>
