working on the close button on minimized windows