Basic implementation for the editing mode