say I have textEdit icon on the dock. I click it, write a sentence, save, and then click red button and it closes the window but there is still an arrow under the textedit icon on doc. So I click textedit dock icon and it opens a blank text window. How come it doesnt open the doc I was just working on and instead just opens a new textedit file? What the heck is the purpose of the red button.