Web Designer - download file within a popup (v8.0.1)

Hi Experts,

In the front end, I have a VI_Popup. Within that popup is a button, and when the user clicks this button, the download file control in invoked prompting the user to save the file.

The issue is that after this control, I have "Close popup", however, the popup doesn't close and stays open. The user still sees the download file control, however no matter how they interact with it, the popup remains open. Any way to get the popup to close after the download file dialog is displayed?

Thanks

Kin

PS: I tried putting breakpoints after download file and none of them are being hit, it looks like the download file component terminates the execution flow of the web designer code but not sure why this happens.