John James Jacoby has created a utility called Persistent Dismissible. Here’s how he describes it, in his words:
“How many times have you written some WordPress code to help you with storing the state of whether-or-not a logged-in user clicked “dismiss” on an admin-area notice, promo, or banner? Yeah. Us too.”