doc search: make "clear" button into a close button, since that's what it looks like