chunk: Refactor dirtiness to fire a simple callback hook.

Seems easy enough!

Refs #366.