(cherry picked from commit a24b4698eedd8c28461877a717ef305a6c47f185)
handleSuccessViewState
handleFailureViewState
Cancel/Save