resolves #1789: Adding source tubes to a collection event takes a long time. Now duplicate inventory IDs are checked on focus lost.