display submits wrapper only if there are submits elements
added simplier condition