move body of jQuery event handler to function

easier relocation of code
Updates to command detail area processed live

No need to click save (button still exists)
remove [save] and [cancel] from cmd detail area

obsoleted by previous commit
Disassociate cmddetail area on releasing command