Question on Jquery UI - 1.8.11 ui-dialog box
I upgraged my dev environment from JQuery UI 1.7.2 to 1.8.11.. The UI-Dialog box that is invoked as modal just vanishes after a few seconds automatically and previously it was not. Also the dialogbox styles are screwed up. It was only after Jquery upgrade. The dialog box disappears even before any button is clicked, i.e it automatically takes the option as "ok" and performs the corresponding action. But when I hit 'cancel' in the dialog before it automatically closes, then it performs the cancel action and calls the cancel method.
Not sure if this is because,
setTimeOut function is modified in jquery-ui-1.8.11.custom.min.js to automatically close the dialog in a few seconds. Is it possible to modify the .js file so that the dialog doesn't close automatically? Or is there any other method of solving this problem?
Please Advice.
Thanks