edit style v2

editing a widget now derives the postid from its containing element,
rather than hard-coded (server-side) single postid