Use export_is_open in close