Dialog optimizations, implemented LevelObjectFactory