Handling changes while in edit mode.