moving modal form stuff from main app view into pageheader view and account view