← UX Page Patterns

Add Details Patterns

Add Details Patterns

The Add Record Modal pattern is an overlay UI component that presents a searchable, selectable list of available records for association. It acts as a focused interaction point for linking or attaching items to a parent record, enabling users to browse existing entries, filter by name, switch between directional or categorical views, and confirm or cancel the selection — all without navigating away from the current context.

image



Users & Jobs to Be Done

The Add Record Modal serves users who need to associate or link records within a sales compensation management platform without losing their current context.

User

Job to Be Done

Comp Plan Admin

"Quickly find and attach the right record to a comp plan before the plan cycle closes, without navigating away from the record I'm editing."

Plan Manager

"Browse all available records in one place so I can confirm what already exists before adding a new association."

System Admin

"Review and manage all linked records to ensure there are no duplicate or stale associations across the system."

Analyst / Read-Only

"Understand what records are available and how they relate to each other, without the risk of making unintended changes."

Problem Statement

Users managing compensation plans need to quickly search, select, and associate related records to a parent object (positions, relationships, participants) from within their current editing context. Without a focused overlay experience, users are forced to navigate away mid-task, losing context and progress. When associations require further lookup or configuration, the inability to layer additional modals over an existing one forces users to abandon their current workflow entirely, creating friction and increasing the risk of incomplete or incorrect plan setup..

Modal

Centered overlay modal (typically 70% viewport width, a secondary nested modal (typically 40%- 20% viewport width) layered on top to handle focused lookup, confirmation, or sub-selection tasks without dismissing the parent context..

Buttons

Primary filled button for key selection; secondary borderless button; tertiary with border button.

Modal Usage

  1. When to Use a Modal (Triggers)

Modals should be used when a user needs to complete a focused task mid-flow without navigating away from their current context. Common triggers include:

Anatomy

Primary Modal (70% viewport width)

#

Element

Description

1

Modal Title

Names the association action being performed (e.g. "Add Relationships"). Sets context for the user within the overlay.

2

Table

Displays existing associated records with sortable columns (Name, Description, Start Date, End Date).

3

Pagination Footer

Shows current range and total count (e.g. "1–7 of 7") beneath the results table.

5

Search Bar

One or more inputs (text search, dropdowns) to narrow the record set without page reload.

7

Action Footer (Cancel / Add)

Confirms or dismisses the association. "Add" is disabled until at least one record is selected.

Solution Examples

Pattern 1

User clicks on Add Version here

image

Onclicking of Add Verision, the Add Version dialog modal opens. Here user clicks on Add quota

image

Onclicking of Add Quota, the Quota Details dialog modal opens.

image

User closes the Quota Details modal and returns to the “Add Version Details” modal and here clicks on the 3 dots.

image

Next user clicks on the “Audit” under the 3 dots and the audit modal opens

image

Next user closes the Audit and returns to the “Add Version Details” again and chooses “Delete” under the 3 dots again and sees the delete confirmation box.

image

image

Pattern 2

User clicks on Add Version here

image

User clicks on Add Condition here

Group 3445.png

User clicks on Add Condition here

Group 3436.png

User clicks on Formula selection here

Group 3437.png

Pattern 3

User clicks on Add Row Condition selection here

image

User clicks on Formula selection here

Group 3442.png

User clicks on Formula selection here

Group 3443.png

Behaviour

Primary Modal (70% viewport width)

Secondary Nested Modal, same size as the primary Moda

Follows Primary Modal behaviors for search, cancel, and empty states, with the following scope changes:

Visual Guidelines

Modal Title

Modal Size

Table & List

Footer & Action Buttons

Known Issues

Issue

Description

No Field Validation

No inline validation or helper text to guide expected input format.