Fix XHTML compliance

Attributes needs surrounding quotes
Merge pull request #7 from steunix/patch-2

Fix XHTML compliance
Allow modal msgbox

Allow modal msgbox, for example when "Waiting for action to complete" things are needed.
Allow smarter close

If there is only 0 or 1 button close, let user close the msgbox by clicking the background.