added app.on  hide-dialog