RF-13922: fix ajax trigger outside of form