sample json data and the hook for the onclick even to place it in the dialog