add js handler for context menu, and add ActionResult as response message.
fixme: the the delete return 406