After thinking about this some more, think it might be better to pass the entire ui.item as a parameter to both hooks. That way the hook can access any of the data it may require from the server.