Delete empty divs when making a new one