This functionality will allow users to create a new contact "inline" with a work-flow. Examples include:
- New Relationship - If the target contact for the relationship doesn't exist in the DB yet, you can create it from the New Relationship form.
- Create / Edit Individual - Current Employer field - If the employer org doesn't exist...
We'll use the dojo Dialog widget for this.
The form fields will be populated by one of 3 reserved profiles (one for each contact type). This means site admins can add to the default fields (name, address, email, phone) by adding fields to the corresponding profile.
When the dialog (pop-up) is saved, the name / contact ID of the new contact is inserted and selected in the "Select Contact" comboBox.