Modals no longer hidden on detach.