Update jquery.ui.dialog.js

fix the bug mentioned in URL http://bugs.jqueryui.com/ticket/9166#comment:11
increase paraments topIndex in options,rewrite function moveToTop use z-index not before() to change layout of dialog