Modals legacy IE fixes