Get rid of </div> tag that breaks modals