Please try to set the footer height to 0 to hide the footer panel.
$('#w').window('footer').css('height',0);
$('#w').window('resize');
To display the footer panel again, set the 'height' to a normal value.
$('#w').window('footer').css('height','');
$('#w').window('resize');