gui/main: Fix opening notes on macos (#1818)
gui/main: Fix opening notes on macos (#1818)

We were always closing the app after opening a note or closing one markdown viewer window even if we had other windows opened or the app was in Sync mode (i.e. it was started on itself and notes were opened later).
cozy-labs/cozy-desktop,cozy-labs/cozy-desktop,cozy-labs/cozy-desktop,cozy-labs/cozy-desktop