#1060 Fixed new HTML content adding when page is deleted