Typically unless the dealer can prove that the modification caused the malfunction that the car is being serviced for, the should not be able to deny the claim.
This is a VERY stripped down explanation of the Magnuson–Moss Warranty Act
More details below
http://www.bobsmuffler.com/warranty.htm