removes target = blank to get to the document search page