refs #802 - Fixed saving entity with relations. Fixed pagination in nested tables on new page.