fix #704, categorize modules in import module selection dialog