Add inspect tool functionality to newEditModels.js