I fixed this problem by creating static object of dialog. previously I was creating the same dynamically by using smart pointer.
Actully I was opening another dialog from the dialog which was created dynamically and when I was returning to the parent dialog this abnormal exception cause.
This might be because of returning to the referance which is allocated on heap.