Put the modification dot back--listening on the document instead of the session seems more performant.