header menu and dialog fixes