FIX 'Add new' page button missing ParentID

Slight typo causing this. Also slightly amended how extra URL
parameters are tagged on to prevent &undefined being appended to URL