Also hide modal header when logging out or exiting