Forums new post form should reset state when user cancels

TNL-148
This function no longer exists; factor out a "resetForm" function from the cancel function and call that here.