Set dirty when changes are made

Covers https://github.com/KSHSK/WAVED/issues/114