Button: Remove add-hidden-input code and move it to nav vclick handler to cover non-enhanced buttons. Fixes #5387.