Added a dialog window to main.js
added graphic for dialog
Added a function dialogBox to objects.js. Not tested or implemented yet