Fixes for jQuery v1.9.1

Made a few fixes related to the upgrade to jQuery v1.9.1.

* Upgraded jQuery UI to v1.10.0.
* Made sure all XHR functions return something to avoid jQuery error.
* Removed prefix menu when displaying confirmation dialog to work around
  problem with menu being displayed above dialog.

Fixes #301