Weird issue with jQuery UI modals and redactor.