Re-closing of UIDocument avoided