isModal
isModal(): Boolean;
The isModal method of the Form class returns true if the form was displayed using the Form class showModal method, or it returns false if the form has not been displayed or it was displayed using the Form class show method.
2016.0.01 and higher