Hello How to prevent a window WebForm2 closing by clicking the X on the left side of the WebForm2 In WebForm1 When I press a button I display WebForm2 as follows Export Public Sub WebButton1_Click() Webform2.ShowModal(Webform1) End How to cancel close WebForm2 by the X on the side Thanks