I had to put a quick jQuery plugin today for creating and overlay and displaying forms hidden on a page today, so I made this jquery.popup.js. Usage is pretty simple:
There is a bind on the overlay that is created that will hide the pop and close the overlay by default, you can comment that out if you only want the popup to close by your explicit calling.
A quick full example:
You can get the code here: popup plugin download