add hook for transaction_dialog