To keep Dashboard in the Mac dock, avoid dragging it off. If it disappears, open Finder, go to Applications, and drag Dashboard back onto the dock.