When the AddressForm is closed, it signals a user-defined event:
The MainForm has an event routine which handles this event by setting the reference to the AddressForm to *NULL:
SET_REF com(#AddressForm) to(*null)
This means that when AddressForm closes, it is removed from memory. The form itself as well as the button and the fields on it all disappear from the system.