adding isEditing in lead controller for clarity