Modal operators and toric ideals