Fix dialog bug where Ctrl-W can close window, and focus cycles into open project. Fixes #71