add properties showHeader, showFooter, showButtons