add support for deprecated usage of submit link outside of form-tag