delete the only one window