For the code below, I would like to chain the success of one entity load with the load of another. However, the .then(sucess..) in the loadEntity returns before the state is