Any waiver of the provisions of Sections 35 and 40 are void and unenforceable as contrary to public policy, except that a consumer may waive the 5-day right to cancel provided in Section 35 if the property is subject to a foreclosure sale within the 5 business days and the owner of the distressed property agrees to waive his or her right to cancel in a handwritten statement that is signed by all parties holding title to the distressed property.
765 ILCS 940/45