“Micromodal.js - Tiny javascript library for creating accessible modal dialogs”

Haven’t tested this yet but it looks promising.

Baldur Bjarnason @baldur