The new modal implementation appends modals to the body to facilitate modal scrolling, which breaks our previous el.