Extend IJsDialogHandler To Include OnBeforeUnload Dialog Messages

Extended IJsDialogHandler to catch on exit Javascript Dialog messages.