Refactored create/edit actions to a common super-class