Restored autoclose for required components

Installer window closes automatically when all required components are
installed.