Done editing when view disappeared