documents: Disconnect the handler from the correct instance

Fallout from 78a41e8e9b8fc39aef7cc2d314f7cb9a625f492c

https://bugzilla.gnome.org/show_bug.cgi?id=723690