BackCloseButtonState
Parameters
isFinalAction
true if the action is final. Can be interpreted as the close button otherwise it is the back button.
onBackClicked
the callback for the back button.
onCloseClicked
the callback for the close button.