When the user clicks the New Post button, see if there's a window attribute, newPostType, that specifies the type of a post. If so, create a post of that type.
I'm thinking about an application where the New Post button creates a thread node, not a blogpost node.
opmlEditor.worldOutline.buttons.archive.["00004000\tNew Post"]