Moved the close function to the baseView class.