Hide editor when not needed