Unify effect onDialogBox shown