Fix refresh ajax forms

Bug: Upon partial page reloaded, the reply forms were being reset so that they would cause a page reload when submitted.

This fix addresses the bug and makes post & reply forms more consistent/reliable.