edit mode on adding a new card