move new entry name logic into the view
persist new entry when added