finished alert directive