remove header and buttonpane from the httpdialog