Add methods to append certain nodes to session data in order to avoid session saving race conditions. Fixes #1488422
Avoid loading already registered attachments when opening a draft message (on page reload)