close battle window