Adds functionality to the view requests button