IE Download pop up problem need help

Hello uipath community,
I’m automating on a native citrix app within its own IE explorer, one of the steps needs to download a document file in background and then other windows would open after that.
However when i try it with the Robot run IE gets stuck on downloads window and doesn’t open the word document, either it doesn’t detect it or it gets stuck in 15% or 25% displays the files and i can’t click continue to get back running.
Untitled
I’ve been stuck with this for days now Can someone please suggest what can be the solution for this?

Notice this happens most of the time but not all the time, it almost only works when i try it manually.