Hi @bshbsh. We can either try to do stuff entirely by code, or we can try to simulate manual processes which use manual user interface dialogs, but we usually can not interact with those manual user interface dialogs by code, so we have to choose which way we want to go. If we use the dialogs, then we will likely not have the level of control from a code standpoint that you are expecting.
Anyways, I believe that if you only want to show the dialog, then you can use something like the following line of code, which essentially just executes the command, as if you just clicked a button in the user interface to show it. But then all control is given to the user interface dialog, instead of the code that launched it.
ThisApplication.CommandManager.ControlDefinitions.Item("UCxResolveFileCmd").Execute
However, if you run this while the active document (showing on your screen at that moment) does not have any unresolved file references in it, it may not show a dialog, and may be waiting for you to select something for it to focus on. I have never tried to use it this way though, so I do not know if it will help you.
Wesley Crihfield

(Not an Autodesk Employee)