Replace custom modal dialog with jQuery UI dialog

Replace custom modal dialogs for errors with jQuery UI dialog widget
using new PivotViewer.Utils.ModalDialog() function