Question: I have created a ionic popup window, instead of the default two buttons at the bottom, I would like to add a button in the body of the popup window. Actually does it really possible to do so? If not, another other method / suggestion?

I have tried to insert some html code in the template but it didn't work.
I would like to add a button like the grey button as shown in the diagram. Thank you for your time for reading my question.

[![enter image description here](https://i.stack.imgur.com/NMowe.png)](https://i.stack.imgur.com/NMowe.png)

Answer: 
If you have tried everything that comes as an accepted ans according to your links for the ques, then why don't you try debugging your start activity, i mean on which you have put intent to start the respective activity.
While debugging one of my application i found that android soft keyboard has that problem of not going down even after finishing the activity that calls it, it stays on screen for few seconds but this doesn't happen frequently.

So i suggest you to debug your calling activity too just try putting "focusable=false" on the component from which you called the respective activity.
Write below line inside your main xml tag

```
android:descendantFocusability="beforeDescendants"
android:focusableInTouchMode="true"

```

just as below

```
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/mainLayout"
    android:descendantFocusability="beforeDescendants"
    android:focusableInTouchMode="true" >

```