swapped blockUI for jquery.ui.dialog