Remove unused modal and overlay divs.