Migrate all modals to jQuery UI.