<p>I haven't reviewed the code yet, but <g-emoji class="g-emoji" alias="+1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png">👍</g-emoji> in concept.</p>
<p>Even without the improvements regarding being able to cancel the dialogs and leave the old project open (nice BTW), I've always felt asking to confirm closing the project was unnecessary as it only happens in response user actions and (AFAIK) is totally non-destructive.</p>
<blockquote>
<p>I've kept confirmation for opening a project file from the command line, in case it was a glob mistake.</p>
</blockquote>
<p>I have never considered command-line user, can you give an example of how something bad could happen in this case?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2178?email_source=notifications&email_token=AAIOWJ7L3EJ7R2A3JRJ5TZLPZPRV3A5CNFSM4HWHUMYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXHY5GA#issuecomment-500141720">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ3ROIJMHCFQWC5Q46DPZPRV3ANCNFSM4HWHUMYA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJYHTSYUNHFNAA7UEJTPZPRV3A5CNFSM4HWHUMYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXHY5GA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2178?email_source=notifications\u0026email_token=AAIOWJ7L3EJ7R2A3JRJ5TZLPZPRV3A5CNFSM4HWHUMYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXHY5GA#issuecomment-500141720",
"url": "https://github.com/geany/geany/pull/2178?email_source=notifications\u0026email_token=AAIOWJ7L3EJ7R2A3JRJ5TZLPZPRV3A5CNFSM4HWHUMYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXHY5GA#issuecomment-500141720",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>