Ensure dialog backdrop is displayed following location change.

Fix for issue #376, complements PR #381.