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