This is a demo of this code https://gist.github.com/773926, which was introduced in this blog post http://developer.yahoo.com/blogs/ydn/posts/2011/01/yui-2in3-modal-panel-example/. Click the button below to show the modal, and prepare for amazement ;)