Fixed the form for submitting new pages