crash on exit corrected
test dialog shown