add to catalog: allow to keep the dialog open after adding files
allow to find duplicates in catalogs
correctly initialize unsigned integers