this method should be _destroy which is called by destroy by the widget facotry