With the exception of a handful of rides (COP, Timekeeper, Tree House, sometimes the Steam Train, etc...these will be listed in the daily times guide) the rides close AT park closing. Meaning that as long as you are in the line by park closing time you will be able to ride. They close the line at the official park closing time and continue to cycle the ride until everyone in line is through.
As for the Kiss Goodnight, they do that everynight...