- fixed a bug where edit function for subordinates was broken due to dialog container addition
- cleaned up some debugging statements