Add modification event handling supporting save and publish notification
Let published state overshadow saved state