hno 0 Junior Poster in Training

Hi
I have seen this popup in a registration form. I think it's using jquery but I don't know how can I make some thing like this . I want to put a registration form in it ( ajax registration )

when the popup appear , around it will became dark

how can I do so ?