Removed DOM ready function from CWRC-Dialogs