adapted to old module::createInputDialog