fixed problem with scan assign

decode image dialog should be initialized with valid container types

scan assign form should not be opened if there are no valid child container types defined at the site.