Story 49871709: Added error handling in the modal and fixed up the default handler override, also fixed wysihtml5 in modal forms