Fix mode (download, link, copy) not being displayed correctly.