fixed bug with restoring previous attrs on cancel edit