See how here >>>http://www.ehow.com/how_4812223_install-javascript.html
This is a Simple Dialog Demo.