The player viewing the UI.
A promise that resolves to 0
if the previous menu should be closed, or 1
if the previous menu should be reopened.
If sourceEntity is not an instance of the Player class or an instance of the executeCommandPlayerW class with a Player linked to it.
The function performs the following steps:
Displays and handles the advanced settings form for a given entity.