searchbar: only use Enter events when active

We don't want to risk activating random stuff while the searchbar is not
up.

https://bugzilla.gnome.org/show_bug.cgi?id=733191
preview: search next when Enter is pressed in preview mode

This makes it consistent with other applications.

https://bugzilla.gnome.org/show_bug.cgi?id=733191