Construct the dialog box to display a list of links to the user.

def get_link_page_text(link_page):
        """
        Construct the dialog box to display a list of links to the user.
        """
        text = ''
        for i, link in enumerate(link_page):
            capped_link_text = (link['text'] if len(link['text']) <= 20
                                else link['text'][:19] + '…')
            text += '[{}] [{}]({})\n'.format(i, capped_link_text, link['href'])
        return text