How to add subscribe form for "DOWNLOAD" button?

Hello,

I want to add a subscribe form when someone presses on a “download” button, after subs, they can download. How to do it? :smiley:

Thanks.
An.