accept button is disabled if no links are selected