refactor(when): update when snippet for remove tab