fixes #2992 submitContentEdit dontShowFields behavior

Fixed the issue and pushed code for review, please check it.