The issue of focus shifting (i.e. last active application gets activated after closing some of MDTools dialogs) has been accepted as a bug by Autodesk. (INVGEN ā 13976).
Till Autodesk provides a solution, use the following workaround:
Press Windows button + āDā, then open/maximize Inventor to use MDTools.