I didn’t use this callback. The problem I was facing is actually known for quite long: https://community.plotly.com/t/a-nonexistent-object-was-used-in-an-input-of-a-dash-callback-an-multipage-app/52007
Perhaps, I could solve it in the next version.
For the current one, I simply places all objects/components in one page (or layout) then just use visibility property to hide/show them.