Alert messages auto-dismiss after 4 seconds.