fixed inline edit to look for the module name if a model name is provided