Input Dialogue - PopUp

In an input dialogue, I have 4 prompts that each uses the pop-up menu option. I need the item number for each. If I save this item number, is it possible to have the popup menu already on this item number the next time I open the input dialogue. I'm thinking something similar to


PopupMenu MyList mode=2


It's a bit annoying to have to reselect everything from the start each time I need the function.
In case you refer to the
DoPrompt
command, it should be sufficient to set the corresponding variable to the 'default' value (variable, string, or index), see

displayhelptopic "The Simple Input Dialog"

HJ