X in modals works (fixes WFE-1105).