alert accept working in poltergeist