send notification from gui to agent