When the last subaction on a card is marked complete, close the entire card.