Examples ui.Dialog usage examples. Example 1: Disable fields dynamicallyExample 2: Get the form and hide fieldsExample 3: Pass a dialog object to a functionExample 4: Set display attributes for cells