The snippet to install it is the same on that site.
And the actually code of the dialog is more than 600 lines, so I don't know if it is a good idea to post that heree