This function will check if there's an extended subscreen and unload it to move back
to the main extended subscreen, or unload the whole extended subscreen and unfocus the item.
It will cleanup the shared state from extended screens appropriately, call their unload (Exit)
callback, and set either DialogFocusItem or ExtendedItemSubscreen back to null.
Note that you shouldn't need to call this function directly. The correct way to "exit" from an
extended item is to call DialogLeaveFocusItem, which will call this and refresh the dialog
UI.
Exit function for the extended item dialog.
This function will check if there's an extended subscreen and unload it to move back to the main extended subscreen, or unload the whole extended subscreen and unfocus the item.
It will cleanup the shared state from extended screens appropriately, call their unload (Exit) callback, and set either DialogFocusItem or ExtendedItemSubscreen back to
null
.Note that you shouldn't need to call this function directly. The correct way to "exit" from an extended item is to call DialogLeaveFocusItem, which will call this and refresh the dialog UI.