Rebuild add dialog if shell is disposed

Fixes #11.