When replacing brake pads, do i need to open the brake fluid reservoir to ensure it doesn't overflow when compressing the calipers, or open the brake lines to drain the fluid (the bleed) rather than have the old brake fluid push back to the ABS module?

I want to ensure there is no damage to the ABS when compressing the calipers.

i noticed a few youtube clips where the front and rear calipers are just compressed without worrying about anything else.
Rears - https://www.youtube.com/watch?v=QH8sTo8Zem8
Fronts - https://www.youtube.com/watch?v=NwH1oxbtKyk or https://www.youtube.com/watch?v=jN9MoTMwhHc