prevent changing hash when closing alert