documented and tested Dialog
fixed slashes for Windows
Added Tabs.js and test page