Completed conversion of Dialog to jQueryComponent.