UI : minor : Search&Replace dialogue not taking full foc

This might not be something you can control, as I’ve seen other applications make the mistake, too. When you press Cmd-F to search, the window pops up, and then you decide you’d rather not anyway, so you press Cmd-W to close it and poof your Scrivener project closes instead. This happens even after you have clicked in the dialogue a bit.

Hmm, I can’t recreate this immediately, but it does sound like the sort of thing that is normal behaviour for a find panel. I’ve seen it in other apps, too. the find panel is custom, but it is created and called in exactly the same way as other find panels (it is based on the code used to create the Apple find panel but modified to search PDF and web views too).