edit customer has now error when no record was selected