use .dialog option method to set the title (fix for jQuery UI 1.9)