Disable visiting objects when dialog is active