How can I delete the last page of my form?