Updates $.ui.tabs code for jQuery UI 1.10 API.
Fixes Alchemy.closeCurrentDialog and adds ajax js respond error handler.