added reset dimensions support to editModels.js