Implemented addNOde, from the insertPage dialog