Typescript-backbone: do not create item on empty input