WP-3639: Add back modal ajax fix.