Zaroundus, I wasn't able to visit your test page, but can clearly see the offending code.
On Jul 2, 7:53 pm, zaroundus <[EMAIL PROTECTED]> wrote: > var cfLoad = function(hash) { > ... > hash.w.load("jax/credForm.php"); > hash.w.jqmAddClose(); > ... > var You are calling hash.w.jqmAddClose() in the onShow function. What this is effectively doing is assigning a close event to hash.w, which is the dialog window itself. You most likely want to assign it to an element WITHIN the dialog window, such as a button or image. E.g. if your dialog looks like; <div id="credFormModal"> <form ...> <input type="text" name="name"> ... <input type="submit" name="submit" value="OK"> <button>Cancel</button> <!-- MORE CLOSE EXAMPLES USING "jqmClose" CLASS --> <img class="jqmClose" src="close.gif"> <a class="jqmClose" href="#">Close</a> ... </form> </div> You would want to call jqmAddClose on the button. E.g. $('button',hash.w).jqmAddClose(); // assign closing event to all buttons within the modal window OR $('.jqmClose',hash.w).jqmAddClose(); // assign closing event to all elements with class jqmClose that are within the modal window Hope this helps, ~ Brice