fix comment form cancel

This hides the cancel link in comment forms if there's no comment yet as discussed in #498.