Fix java.lang.IllegalStateException: allow state loss when showing dialog
Merge pull request #33 from hijamoya/loseable

Fix java.lang.IllegalStateException