Correct. Both of those actions occur due to the ion channels and gates resetting to their normal, pre-triggered state. In both of these plants their movements are triggered by ion potentials changing, like nerves in animals, opening channels to move water from one area to another, changing the shape of cells, bending cell walls due to water pressure, causing the movement. Then, slowly the water is moved back to its pre-trigger state, slowly opening the venus fly trap, or leaflets in this plant. Some insects move their legs through adjusting liquid pressure.