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