Open pedigree editor and locate a child node that is not associated with any patient record.
On the Patiend modal click "Create new" button.
Message appears "Do you want to add patient P0000... to this family?".
case #1 (correct)
Press CONFIRM, the new patient record gets created and is assigned to a family.
case #2 (bug)
Press CANCEL, nothing visible happens. However a new empty record gets created. Moreover, by pressing "Create new" and CANCEL button, user can generate many empty records.
Is this prompt necessary as one would assume that child belongs to the family anyway?
If prompt is necessary, the question is misleading user to think that the new patient will be created and depending of user choice it may or may not be assigned to the family. Can we reword the question into something like:
"The new patient record will be created and assigned to family XXXX.
This pedigree will be shared between all members of the family.Do you want to proceed?"?