Close ask_dialog and delete it in after exec().

Fix Moligaloo/QSanguosha#197