Implementing lost-edit