function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SFDC 1904SFDC 1904 

On custom object I have overridden "NEW" and "EDIT" button. When we close/cancel new button and click on new button again it reopens.  But when we close/cancel/save edit button and re click edit button, It opens and collapses.

SFDC 1904SFDC 1904
I have used lightning overlay for pop up model.