Fixed insertion and deletion of comment widgets.