DialogFragment with edittext doesn't lose keyboard after dismissed

view story

http://stackoverflow.com – I have a custom DialogFragment with a single EditText and no buttons. After the text is entered into the edittext and I press "done", the keyboard stays visible upon returning to the host activity, even though the dialog is dismissed. It changes to a numerical keyboard, because the field in the host activity it focuses on is a numerical entry only edittext - but it may also focus on an edittext field I with normal text entry (and thus remain a normal keyboard) depending on where I left the cursor after I start the dialog fragment. I have tried everything I could find (have googled and stackov (HowTos)