Figure out a way to collapse duplication between create/edit