Support Article
There is no close button on the modal window
SA-39908
Summary
The pyCaseTools that hosts a Related link is configured in out-of-the-box pyCaseAssets section. The modal dialog that appears on screen on clicking the Related link does not contain the close button (X) on the top right corner of the modal.

Error Messages
Not Applicable
Steps to Reproduce
- Include pyCaseAssets section on the work object harness.
- At runtime, click the Related link.
Root Cause
The pyModalTemplate is overridden by Pega Customer Service application for use in Dialog management and modified. Since this section is a py, it is designed to be overridden. For a different behavior, override the PegaAppCA version and update it as per requirement.
Resolution
Perform the following local-change:
- Save pyModalTemplate into the application ruleset with a different name
- Ensure that this rule includes pzModalClose
- Check the override default modal template option and specify the template name defined in Step 1

Published August 11, 2017 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.