<p dir="auto">In a window with several tabs, some of them <em>dirty</em>, using Close Pane (from File menu) pops the "Changes will be lost" dialog. However clicking the Cancel button still closes the <em>untouched</em> tabs.</p>
<p dir="auto">Expected behaviour: do not close anything.</p>
<p dir="auto">Additionally, clicking Cancel should also immediately stop the processing of the command. At the moment it carries on prompting for each <em>dirty</em> tab.</p>
<p dir="auto">Closing a pane closes unsaved files without prompting or saving</p>
<ul dir="auto">
<li><strong>Atom Version:</strong>       0.143.0-b29a61e</li>
<li><strong>Atom-Shell Version:</strong> 0.19.1</li>
<li><strong>OS Version:</strong>         Mac OS X 10.10</li>
<li><strong>Misc Versions</strong>
<ul dir="auto">
<li>�apm�  �0.109.0�</li>
<li>�npm�  �1.4.4�</li>
<li>�node� �0.10.32�</li>
<li>�python� �2.7.6�</li>
<li>�git� �2.1.2�</li>
</ul>
</li>
</ul>
<h2 dir="auto">Repro Steps</h2>
<ol dir="auto">
<li>Open a file <code class="notranslate">a.txt</code></li>
<li>Open second pane <kbd>Cmd+K RIGHT</kbd></li>
<li>Open a file <code class="notranslate">b.txt</code></li>
<li>Make a change to <code class="notranslate">b.txt</code></li>
<li>Select <code class="notranslate">File | Close Pane</code></li>
</ol>
<p dir="auto"><strong>Expected:</strong> Dialog is shown<br>
<strong>Actual:</strong> No dialog is shown, file is closed without prompting</p>
<hr>
<p dir="auto">This report was created in and posted from the Atom editor using the package <code class="notranslate">bug-report</code> version 0.4.1.</p>