MDL-68750 tool_dataprivacy: Correct behat test modal checks