Fix #730: hide comment button in edit mode