[966896] Added check for this.ruleEditor.isEditing so that it does not try to preview/commit anything