Dialogfragment for api 10 corrected