added page numbers, close link (x)