prevent embedded dialog from dismissing