Creation and destroy of alert message