Mark document as changed after a PV was edited

It should show confirmation dialog if you changed a PV and trying to close document without saving.