A real estate broker may contract with and pay an attorney or associate broker to assist the broker to review a real estate transaction before the transaction closes.