Discussion5Replies7507Views PremkumarG Member since 2013 20 posts cognizant Posted: March 30, 2016Last activity: September 26, 2016 Closed Close modal windowHi,Currenly in a button action set i called show harness to display the section in Modal window(with mami, mini, close) icons- Normal window.I customised the section by adding a submit button. On click of submit button i need to call a activity and close the window. I used Run script 'window.close()' it throws exception saying page or property reference is invalid.Please advice on this.I am using pega 7.1.8 Thanks,Prem User Interface ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion. Posted: 4 years agodimis PEGA replied to PremkumarGHi I notified the relevant team to look into this and reply to you. Regards dimis Posted: 4 years agoSathyaG_Incessant INCESSANT TECHNOLOGIES replied to PremkumarGTry this On Click -- Run Script: Function Name: script:pega.u.d.submit Parameters: Name: Blank Value: "pyActivity=SaveAndContinue&CloseAfterSave=true&apyActivity=GoToPreviousTask" Posted: 4 years agoNisargK7 Morgan Stanley replied to SathyaG_IncessantHi, This worked for me. Thanks, Nisarg Kothari Posted: 4 years agosents Blue rose technologies replied to SathyaG_IncessantThis is same as configuring the button with following action, Process work -> Save with close after save option checked Posted: 4 years agoKasun.M7 MSG Systems ag replied to PremkumarGTo archive this only if it is a single screen with a submit button , if not needed to open a flow in modal window , we have used t run a local action on the modal window and used the default submit buttons and it works perfectly.