Download file from webviewer

I have a link from webviewer that download a file. Now if i click on the webpage link (called inside the webviewer) the download starts immediately so the user cannot choose if download the file or cancel.

I used dialogs extension but now i have to avoid it due some problems with A13.

This is the block.

Do you have any idea how to have a download with popup that says: download file? Yes/not

and only after the choosen from the user, the download starts or not