A promise that is resolved when the dialog is submitted,
or rejected if it's cancelled. The following object structure is returned when resolved only if this dialog
was constructed with returnToCaller set to true:
privilegeAssignments [type: Array, elementType: dundas.filesystem.PrivilegeAssignment] - The updated privilege assignments.