Close messages boxes by using the activation key (Bug #589)