Adds a new page on form submission