#9181: fix crash trying to resume node editing

Clears temporal objects to avoid crash trying to resume node editing and
disconnects signals to avoid repetitive connects