dialog, footerpanel

dialog is fixed! but not functional.  footerpanel is WIP