fix logic to save value when detach/reattach summernote