Update jquery.dialogOptions.js

Added an "if" clause to line 51 to fix the error "Uncaught TypeError: Cannot set property 'events' of undefined" when creating a dialog, using jquery UI 1.10 and upward.

This completely eliminated both the error message and the symptoms for me.