I helped someone else with this very question (well, very closely related) a few months ago:
Maybe that macro will help you out? The buttons aren't visible to KM, so I wont up using keyboard commands. The user wanted to pre-input his values, so the macro may not work as you want—but the basics of how to get those panels to show are there.