Basic Implementation of the method in memory to eliminate instances.
Now to delete an instance of the form is closed.