Adds a search box to the editor