remove binding.pry, set generic action for entity editing