show and hide alerts