A medical apparatus (100 200 300) is provided, comprising a closure device (21 102 202 302) comprising a first or distal member or portion adapted to be placed on one side of an opening in a wall of a bodily organ, and a second or proximal member or portion adapted to be placed on the opposite side of the opening in the wall of the bodily organ, an insertion assembly (101 201 301) comprising at least one actuator operatively connected to at least one of said first or second members, wherein the insertion assembly further comprises at least one motor (105 106 205 306) adapted to maneuver said at least one actuator. In one embodiment the medical apparatus comprises further a closure device (102 202), which comprises a locking member (130 230) and a tubular member (121 221) having two sets of struts (122, 123 222 223) being provided with a hinge section, and an insertion assembly (101 201), which comprises a holder (140 240) and an actuator, the holder being releasably engaged in the locking member and the actuator being releasably engaged with the tubular member.