Added a function to display the selected IDs at the bottom of the page
(to make it easy to copy/paste them)