Arse, so the rubber hose that is about 10inch long going into the caliper
Remove the reservoir cap, place a piece of lightweight plastic bag over the filler neck and screw the cap back on. This will hydraulically lock your new fluid in the system and stop most of it from dripping out when you take the hose off.