Add some class magic to hide/show the searcheditor when empty

Applies to https://github.com/GigaOM/legacy-pro/issues/4216#issuecomment-56080440