Issue with using of AFXFileSelectorDialog for mode

Hi All,

I am a new in ABAQUS, started learning and getting familiar with it. I am trying to write a mode (plugin; inhereted from AFXForm) and what I want is to select a directory using AFXFileSelectorDialog and select some additional settings from my own dialog box then to call some kernel code. I create AFXFileSelectorDialog in getFirstDialog method of the mode and return it and try to create my own dialog box in the getNextDialog method. What I am seeing now is that after selection of a directory with AFXFileSelectorDialog the mode doesn't call getNextDialog (as I understand the file selector dialog returns ID_CLICKED_OK and that tells to the mode that the input process is over so there is no necessity to gather input further; I've checked that if I place my dialog with settings at first and push CONTINUE button then the mode calls getNextDialog). So the question is what I should do and what is the best practice to continue collecting input from a user if AFXFileSelectorDialog is called first in getFirstDialog?

I've tried to derive from the AFXFileSelectorDialog and cautch the ID_CLICKED_OK in a specially provided method but failed to implement that method to make the whole chain working.

Thank you very much for the support!