remove alert directive