Fixed dialogue crash with Mima patch