Jumping between Dialog finished,closeEvent Bug Fixed