Add details button to PDF