create a class for transaction dialog
remove unneeded parameter
custom json encoder for transactions
merge spesmilo/electrum master