I copied Cappuccino and now pass the selected post's ID, and that seems to work well enough for now.