Clear editor when removing files.