diff --git a/index.html b/index.html
index b8304e9c5..2fe8e7db4 100644
--- a/index.html
+++ b/index.html
@@ -21,7 +21,7 @@
-
+
diff --git a/js/id/graph/entity.js b/js/id/graph/entity.js
index e3c2d00e6..766cf8ab2 100644
--- a/js/id/graph/entity.js
+++ b/js/id/graph/entity.js
@@ -20,6 +20,7 @@ iD.Entity = function(a, b) {
iD.Entity.prototype = {
update: function(attrs) {
+ attrs._updated = true;
return iD.Entity(this, attrs);
},
diff --git a/js/id/graph/history.js b/js/id/graph/history.js
index 92cb0da4d..7f962b4d8 100644
--- a/js/id/graph/history.js
+++ b/js/id/graph/history.js
@@ -58,7 +58,7 @@ iD.History.prototype = {
// generate reports of changes for changesets to use
modify: function() {
- return this.stack[this.index].creations();
+ return this.stack[this.index].modifications();
},
create: function() {
diff --git a/js/id/id.js b/js/id/id.js
index d2cfba300..bfb5b384c 100644
--- a/js/id/id.js
+++ b/js/id/id.js
@@ -85,7 +85,9 @@ var iD = function(container) {
.attr('class', 'modal commit-pane')
.datum(map.history.changes());
modal.call(iD.commit()
- .on('cancel', shaded.remove)
+ .on('cancel', function() {
+ shaded.remove();
+ })
.on('save', save));
});
});