Added base class for windows and close button