added crash dialog