Kracoeus-7002

Merged from mrudulpolus/KRACOEUS-7002.  Not fully functional.  Known issues are described in KRACOEUS-7745.  
This is incorrect and probably doesn't work. Should be closeDialog but I believe there is a common bean definition that can be used instead.