Fix crash MMIDialog