Using dialog% instead of frame%
Using fcrop to generate models