Bug fix: ensure a dialog's content node is always contained in its DOM, even after the dialog's  is cached