Added default values for the two automatic methods of closing the dialog (pressing escape and clicking the document)
Merge pull request #3 from robbaman/closedialog-value

Added default values for the two automatic methods of closing the dialog.