bug with jquery dialog in testing fixed