model: Fix search box

- Hook model into search box.
- Fix model functions to match right string