Added function to close gdiff window