Fixed 'dialogError' not existing with jQuery Dialog2.