Fix feedback modal validity check (bug 876651)

Fix the case which was sending jquery obj rather than form elm.