added NewModelDialog class