Updated search to open new viewer.