display the actions cog only if there is secondary actions