Keep track of descendent nodes on a stack on every click