Fix Gurtel flash messages for newer Werkzeug with smarter ModificationTrackingDict.