Attachment or sealing of modular units to each other