fix possible deadlocks
fixes to the Model List feature in editModels.js and added it to new edit