alert directive complete