The spec previously asserted that close watcher was not null. This could lead to a crash in some situations, so instead we skip to close the dialog.