add click handler for selection
remove fetch call
fetch the amount of documents for the page again