You know how you have a ContentTemplate?
Is there a way perhaps to have some sort of additional template for CommandButtons? When the window gets rendered it inserts the div wherever it was specified in the options for the Template?...does that make sense?
Something like this
So when it renders it puts the buttons inside of <div id="
"> which is then docked to the bottom of the window.