Simplify the exit checks in TownAuthorityWindow::OnClick