the magnet being movable and actuating a second magnet connected to the closing element