comments added for new logic to exit the form

comments added -  base.SetVisibleCore bool attribute  of form