@Microraver Put more emphasis on finding weaknesses in the opponent's camp and targeting those weaknesses, leveraging your significant static strength and initiative. For example, after 21. Qxf7+, you're forking black's king and the undefended pawn on d5. Snatching this pawn eliminates black's presence in the center completely, allowing you to grab even more space with your superior structure.
Then, the next move you make, e6, while not an outright mistake, for me lacks positional merit and helps black out - take a look at your pawn structure before this move - black's dark-square bishop is terrible, completely boxed in. Meanwhile, your light-square bishop is patrolling the center on aggressive diagonals, in total harmony with your pawn structure. This idea of good vs bad bishop is a positional motif that is very common, so it is useful to think about; playing e6 allows black's bishop some breathing room.
And next, black squanders that gift and delivers a dubious check. After you shuffle your king to the corner, he correctly identifies the weakness he has on g6, so he covers it with his rook - however, that rook was overloaded, and in defending one pawn, he has now hung his pawn on e7, which is a great target to further damage black's camp.
With this in mind, our primary goal is to find ways to continue damaging black's army without giving up our static material advantages and giving black the opportunity for counterplay. Given this approach, taking black's bishop with 24. cxd4 makes a ton of sense, because in doing so, you're eliminating the one active piece that black has, and you're also removing a potential defender of that e7 pawn (should he retreat the bishop, like in the game).
tl;dr - when up a decisive amount, put particular emphasis on picking out weaknesses, targets in the opponent's camp that can be overwhelmed with your advantage. A lot of times, with this much material in your favor, you can overload the defenders very easily by creating double threats. From there, it's a matter of smothering the opponent and taking away any chance of counterplay.