added ability to add pages from search results