If we click on a link, we only want to open the URL, and not the record when the button is on a list. PR: #27230