Click the button to view document