use the header as a veiwport border for dialogs.