let redefine alert msgs on console closing