Displays a common dialog box and returns a value indicating whether the user clicked OK in the dialog box.
public final int showDialog()
Returns DialogResult.OK if the user clicked OK in the dialog box; otherwise, returns DialogResult.CANCEL.