- Replaced floating modal implementation with a Dialog component for better accessibility and styling.
- Introduced a type guard for active tab validation, ensuring only valid tabs are set.
- Updated modal rendering logic to handle fixed and dynamic widths more effectively.
- Adjusted tests to reflect changes in modal behavior and structure.