dialog window with edittext closes when edittext is clicked
<p>I have a window that opens in a Dialog theme, which is how I want it to look. it's to update the title of a note (example)... so there is a text box and 2 buttons.</p>

<p>problem is as soon as I click on the edittext for the keyboard to show up the dialog window closes !!!!</p>

<p>this is the declaration I have in the mainfest for the dialog activity (note: I tried with the windowSoftInputMode value and without) </p>

<pre><code>&lt;activity android:name=".EditComment"
    android:theme="@android:style/Theme.Dialog"
    android:windowSoftInputMode="stateAlwaysVisible"
    android:label="Comment"/&gt;
</code></pre>
