Added an example on how to tell a form to close.