Add right-click menu to outline to run agree
Simplified TerminateHandler