Added selection dialog with default option.
Changed instance list from Dictionary to SortedList to make sure order is maintained.
Fixing missing change to SortedList.