Work in progress: implement download link in popup