i am making a swift app where I use an UIDocument. I wonder what happens if I doesn\'t close it properly by calling the close function on it? Will it then just close automatical