Sync after 'saved' event fired, so isDirty() can be used

Currently isDirty() doesn't work on the 'saved' event. This change fixes that.