payment dialog wireup for custom dialog, 

docs on payment controller
tweaks on other dialogs