If you're running the WriteFreely for Mac beta, check for test version updates! You should find one for v0.6.0, which now lets you restore the window by clicking on the app's icon in the Dock, plus fixes a potential crashing bug.