Fix search dialog

Closes #8
https://github.com/mate-desktop/mate-character-map/issues/8