more search and working on popup positioning