Don't dispatch history events when there is no document
Don't dispatch history events when there is no document

lxfschr/spaces-design,adobe-photoshop/spaces-design,adobe-photoshop/spaces-design,lxfschr/spaces-design