Hide publish secondary UI when switching to another flow