made agreement into a dialog, but footer needs more work now