fixed dialog bugs, line 5933 file jquery.jqGrid.src.js