fix comment form cancel (fixes #498)

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