Fix comments not updating correctly in some cases.

* When deleting a comment and it's the only one at depth=1
* Hide property info popover when comment deleted